Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where do I put my cron jobs

Status
Not open for further replies.

richclever

IS-IT--Management
Oct 5, 2000
127
FR
Hi,

I am new to cron, and am having a few problems.

I have to run a scheduled task every day, and the perl script I am using says that it needs to be created as a shell script (eg. ###START OD SHELL SCRIPT
cd /path_to_cgi_script_directory
perl cgi_script_name
###END OF SHELL SCRIPT)

I need this to run at 3am every day, but i have no idea where to put the shell script or what to call it. Can anybody help

Thanks
Richard
 
at the prompt type "man crontab" and "man cron" - everything you need is in there.

 
I use webmin and access my system via web browser. From there I access cron and via point and click I set up my schedule. Try to access If webmin is loaded it should give you access via internet browser. And you password is what ever you root password. I found that using this really makes things a little easier. Richard S. McCranie
CoMatrix Southeast
richm@comatrix.com
 
Thanks all,

I managed to crack it myself anyway. mcrackin is right, webmin does make things much easier. The problem was compunded by me having the wrong permissions on the scripts so they would never execute!! Oh well we live and learn.

Thanks again

Richard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top