getting error while running script under cron
Hi,
I have an issue with cronjob with one user with one script. I have tested to set others cronjob with basic command. It worked. but the actual script is not running under cronjob. I tested the script manually it worked. I have centos 6.2 . User is created on AD and using AD (winbind to login). I am getting logs for UNSAFE
Jun 26 08:05:05 DEV-HMAERS1 CROND[14641]: (NYOS\sop_qa) UNSAFE (NYOS\sop_qa)
Jun 26 08:06:01 DEV-HMAERS1 CROND[14702]: (NYOS\sop_qa) CMD (/bin/sh /home/sop_qa/Automation/sop_alerts.sh)
Jun 26 08:06:01 DEV-HMAERS1 CROND[14701]: (NYOS\sop_qa) CMD (touch /tmp/mohit)
Jun 26 08:06:05 DEV-HMAERS1 CROND[14700]: (NYOS\sop_qa) UNSAFE (NYOS\sop_qa)
*/1 * * * * /bin/sh /home/sop_qa/Automation/sop_alerts.sh
*/1 * * * * touch /tmp/mohit
|