Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Simon Vetterli on August 20, 2002, 02:47:16 PM

Title: How to add a script to cron service
Post by: Simon Vetterli on August 20, 2002, 02:47:16 PM
Hi

I have a script and I like to add it to the cron service. I like that this script is running every night. How I have to do it?

Thanks

Simon
Title: Re: How to add a script to cron service
Post by: Jon Blakely on August 20, 2002, 04:39:54 PM
Do a search for cron in the forums. Use All dates in your search and you will find your answer.

Jon
Title: Re: How to add a script to cron service
Post by: chris meredith on August 20, 2002, 07:19:16 PM
I recommend checking out linuxdoc.org as well.  You can get HOWTOs, FAQs, and MAN pages for most common things like setting up a cron job.

http://www.tldp.org/LDP/LG/issue47/misc/pollman/cron.html
Title: Re: How to add a script to cron service
Post by: Aaron Wilde on August 20, 2002, 09:46:26 PM
Simply copy your script to the /etc/cron.daily directory.
Title: Re: How to add a script to cron service
Post by: Luke Drumm on August 21, 2002, 04:13:20 AM
Or use the crontab tool...
Title: Re: How to add a script to cron service
Post by: Simon Vetterli on August 21, 2002, 10:47:56 AM
Sorry I'm a little bit new? How do I use it?
I don't know it?