hi thanks for you help everyone. i'll have a play around and see how i get on. the email was running by a win95 machine running FTgate mail server which dialed up periodically, so the numerous dialups don't concern me. the phone bill is quite big, but as yet i can't find a solution that is any cheaper - leased lines cost the earth, and other 'always on' lines don't look much cheaper. if anyone knows of any good deals (like adsl before bt pushed the price through the roof) please let me know. thanks again, Andrew ----- Original Message ----- From: Derek Fountain <fountai@hursley.ibm.com> To: SuSE English <suse-linux-e@suse.com> Sent: 29 December 1999 16:11 Subject: Re: [SLE] Cron?
Cron is indeed what you want, and it's irrelevant who is logged on or what the machine is doing. Not sure where you got that idea. Just read the crontab man page, look at your existing /etc/crontab and /etc/cron.* files to understand how SuSE have set it up (so you don't break the rebuild of your locate db, etc), and add the config lines you need. You won't need to worry about starting the cron daemon or anything as all SuSE installations run it by default. I don't think there's a howto - it's too simple even for that.
Be very careful with your script though. I note you're in the UK so if it goes wrong your phone bill is going to be rather large... I think, in fact, BT forbid this kind of unattended auto-dial thing unless they have authorised the program. Not that this should stop you, but don't expect sympathy if you end up paying to be connected for hours on end.
i have a script that connects to the internet, sends and receives email, then disconnects. i want it to run 3 times a day - at 8:30, 12:00 and 16:30 on all days except sunday. it looks like CRON is a sort of scheduling program, but from what the man pages say, it only runs when a user is logged on and that user has the event set up in their area. as it will be running on a server, no users will be directly logged on to the machine, so how can i get round this. what is the exact procedure or where can i find a step-by-step guide - is there a howto on the subject?
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/