running scripts with cron
i have a script in /root/new.sh .how can i run this script with cron??
crontab -e * * * * * "how to give path to script?" |
Hi suj,
Try following entry Code:
crontab -e |
Make sure that the script in /root has executable permissions before scheduling it.
As root type: Code:
chmod 700 /root/new.sh |
All times are GMT -5. The time now is 02:43 PM. |