Can anyone help me why the task scheduler (cron job) is not working on NBU appliance? We have a script that is use to check daily backlog on our master server, running in command line it works perfectly. But adding it to the crontab, it does not work. Looking at some resources i.e., article about this but could not find one. Anyone? Appreciate any inputs on this issue.
Here is sample content of the cron
*/15 * * * * /usr/openv/scripts/backuplog.ksh
If it works via the CLI but not in cron then you're almost certainly missing a PATH entry for one of the binaries you call.
Modify your script and either add the missing directory into the PATH, or fully qualify all your binary calls.
By default the appliances' cron daemon only has the following PATH directories: /usr/bin:/bin
*/15 is shorthand for "every 15" in cron. =)
Would be the same as writing out :
0,15,30,45 * * * * /usr/openv/scripts/backuplog.ksh