[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Planned execution of a script on a RAQ - AT not there ?
- Subject: RE: [cobalt-users] Planned execution of a script on a RAQ - AT not there ?
- From: "Phil Beynon" <phil@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon May 10 02:30:01 2004
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> Hello to all,
> I want to have a script launched at a very precise time one day.
> I have found a good solution on a RedHat machine (cronjob triggering the
> mails, sent with AT), but when trying to copy it to our RAQ 550 I
> found the
> AT command not to exist on it ?
> How can I have these emails sent at precisely the hour we need on
> that day ?
> thank you,
How about a PHP script run from CRON, checks the time, if it's nearly the
trigger time then it does a sleep until its exactly the right time then
sends the emails using some sort of remailer, otherwise it exits.
Should be accurate to a few milliseconds!
Phil
** http://www.diygear.com THE Online DIY Toolstore For DIY & Business
** Infolink Electronic Systems Ltd. http://www.infolinkelectronics.co.uk
** Professional Web Design & Cobalt Hosting Solutions
** Sun Cobalt iForce Reseller - Canon Silver Reseller
** Contact: Sales@xxxxxxxxxxxxxxxxxxxxxxxxx
** Tel / Fax 0121 458 4894 (office) 0121 441 3558 (home)