Doesn't work.Try to define the full path to the command /usr/bin/rm
Check the logfile /var/log/cron to find out what the issue is.
Run:
# tail -f /var/log/cron
and excute the cron command in the GUI.
/bin/rm -rf /public_html/image/cache/*
Because the was a migration from cPanel.By the way: what's the deal with the public_html folder? Plesk uses httpdocs as the root directory for the subscriptions.
Because the was a migration from cPanel.
I get that, but does that public_html folder exists? It seems unlikely to me on a Plesk server.
I still can't get this working via the Schedule a Task in Plesk.. Is it not possible?
Tried
/bin/rm -rf /public_html/temporary/*
rm -f /public_html/temporary/*
Any other suggestions? As the other poster mentioned there is no log output except success, but files are not deleting.
And I also migrated from Control panel and can confirm that files remain in /public_html/