I defined a new job in cronjobs menu (in cpanel) to run a php file each 5 minutes, but it doesn't run after 5 minutes.
whae i check CRON logs it shows bellow error :
when i check above mentioned path , i can see that file owner is that user:
why defined CRON file doesnot run?
PHP:
*/5 * * * /usr/local/bin/php /home/$USER/public_html/custom_script
whae i check CRON logs it shows bellow error :
PHP:
crond[2095080]: ($USER) WRONG FILE OWNER (/var/spool/cron/$USER)
when i check above mentioned path , i can see that file owner is that user:
PHP:
# ls -la /var/spool/cron/$USER
-rw------- 1 $USER $USER 131 Jan 29 21:48 $USER
why defined CRON file doesnot run?
Last edited: