[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: RE: [cobalt-users] Planned execution of a script on a RAQ - AT not there ?



Thank you for all the interesting tips and information;
On that RAQ 550 I found ntp was not running, not sure why. Started manually now. What I had in mind was the AT command, commonly found on other Linux boxes, but not here on that RAQ550. I will however use a daily cronjob and shut it down after it's been used once on the required day. The job to is is a sending of a few emails (maybe 30), however it must be the most precise job I have found, because the order in which these emails are received will determine who "wins". It's basically a first-come first-served competition, with the registrations being accepted from a precise time on the hour - say 11:00 am. Currently the emails are prepared as TXT files, and stored in a directory. A Perl script is called in my cronjob and fires them up. (/root/cronjobs/scripthere.pl) The emails are short 4 kb text files, almost the same but for the customized names etc, as they are based on templates. We are using a "source" server that is as close to the destination server as possible (same city). How should I name the script or what should I do to give it absolute priority, as unfortunately it is a precise 00 mn) hour and I'm afraid the RAQ will do other things at the time (logs rotation ?). Could the emails be in the queue already and be sent out at the required time ? Because I need the destination server to receive these emails as close to 11:00 but not before (else invalid entry !), I guess I should send a bit before the given time...Flooding the destination target is not allowed, would be stupid, and would get us banned, but I guess we may opt to send once a few seconds before, once on time, and once a few seconds after the crucial deadline...
Thanks a lot for your time and consideration,