im trying to remove my Cache folder with cron but cron not auto start when i set it
i just set it for 5 minute to test it work or not
5 * * * * root rm -rf /usr/share/httpd/720p/public_html/Cache/
im using centos 6.9
its a virtual host
crontab not working centos 6.9
Re: crontab not working centos 6.9
There are two types of cron jobs: system jobs (in the /etc/cron.d directory) and the "per user" jobs that are maintained by the crontab (and located in the /var/spool/cron directory).
There is a difference in the format of the "per user" crontab files and "system" cron files: in cron files the 6th field is the user name, whereas crontab files don't need user name there. You should remove "root" from the line.
There is a difference in the format of the "per user" crontab files and "system" cron files: in cron files the 6th field is the user name, whereas crontab files don't need user name there. You should remove "root" from the line.