I am having cron run a shell script which includes this line...
/etc/init.d/nginx reload
but it is giving me an exit code of 2...What can I do to reload nginx from cron successfully?
I am having cron run a shell script which includes this line...
/etc/init.d/nginx reload
but it is giving me an exit code of 2...What can I do to reload nginx from cron successfully?
/etc/init.d/nginx reload
run successfully from command line? – heemayl Mar 25 '16 at 17:00cron
too..whatcron
entry you have exactly? – heemayl Mar 25 '16 at 17:09