I’ve got a cron job which needs to run with elevated permissions on a PS, and I’ve added a line (using a PS Admin User account) to the root crontab using:
The crontab is something like this:
However, the script does not seem to run, and I can’t find any trace of an error in the log, or by running:
cat /var/log/syslog | grep cron
It looks like the cron isn’t being run, and I have no idea why. Can anyone see what I might be doing wrong?
(In my case, myscript.sh needs to be run using elevated permissions as it’s rebuilding a Sphinx search index. The same script runs fine outside of cron.)