prav83
asked on
UNIX/Linux - CRON Question..
If I want to run a script oracheck.sh every 10 minutes I can edit my crontab using "crontab -r"
0,10,20,30,40,50 * * * * /opt/oracle/bin/oracheck.s h
But can I create a file in /etc/cron.d called oracheck and have this
# cat /etc/cron.d/oracheck
Does the file in cron.d work the same way ...??? if not how can this be interpreted in /etc/cron.d ..???
Thanks..
0,10,20,30,40,50 * * * * /opt/oracle/bin/oracheck.s
But can I create a file in /etc/cron.d called oracheck and have this
# cat /etc/cron.d/oracheck
Does the file in cron.d work the same way ...??? if not how can this be interpreted in /etc/cron.d ..???
Thanks..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
On your first remark: crontab -r removes your crontab entry, with crontab -e you edit your crontab file. As which user do you want the script to run?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.