Monday, 15 September 2014

cron - Ubuntu Crontab Command not working -



cron - Ubuntu Crontab Command not working -

on command line, next line works charm:

cd /opt/server/apache2/htdocs/newapp/ && php oil refine dealer:handler

after confirming command on command line added next line crontab on ubuntu server (with blank line after it):

*/1 * * * * cd /opt/server/apache2/htdocs/newapp/ && php oil refine dealer:handler

my syslog says (every minute):

feb 8 15:34:01 ip-xx-xx-xx-x cron[5549]: (username) cmd (cd /opt/server/apache2/htdocs/newapp/ && php oil refine dealer:handler)

nevertheless, command crontab doesn't work. thought wrong it?

ubuntu cron command crontab

No comments:

Post a Comment