I created an entry in crontab to execute a job at midnight as e.g user A.
In the morning, I found there were no results of the script. Checking the
/var/cron/log, I found that during that hour (same time) only a script user root was executed.
a) Can we set multiple jobs in cron to execute the same time.
b) If no? Does this mean user root cron has precedence over any other user to execute the cron job?
here is what they look like.
root$ crontab -l 05 00 10 * * /opt/sdf/sbin/somescriptA.sh> /dev/null 2>&1 #Test userA$ crontab -l 05 00 10 * * /opt/sdf/sbin/somescriptB.sh> /dev/null 2>&1 #Test