LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   run shell script on cron (https://www.linuxquestions.org/questions/linux-newbie-8/run-shell-script-on-cron-341160/)

varunbihani 07-08-2005 12:33 AM

run shell script on cron
 
Where can I learn writing shell scripts? I want to run a shell script via Cron daily...
plz help

hardcorelinux 07-08-2005 01:09 AM

Re: run shell script on cron
 
Quote:

Originally posted by varunbihani
Where can I learn writing shell scripts? I want to run a shell script via Cron daily...
plz help



in your command line give

crontab -e

insert this line,this will run every night 09.30 PM

30 21 * * * /home/username/www/scriptname

check the execute permissions of script


To know more about shell scripting refer following links
http://www.freeos.com/guides/lsst/
http://www.tldp.org/LDP/abs/html/

kencaz 07-08-2005 01:10 AM

Good Scripting info:
http://linuxreviews.org/beginner/Bas...tion-HOWTO/en/

Some additional good Cron stuff:
http://linuxweblog.com/node/24

KC

ahh 07-08-2005 01:15 AM

http://www.freeos.com/guides/lsst/

varunbihani 07-08-2005 01:33 AM

How can I run a shell comman daily at particular time with cron??
Do I need to write a shell script for that command and run that shell script on cron??
Plz help

hardcorelinux 07-08-2005 01:50 AM

That i said already, put your cron entry in your crontab , look my above post, and change the time according to u


All times are GMT -5. The time now is 06:08 PM.