TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mark Lewis
from: Francois Thunus
date: 2003-11-13 11:19:00
subject: Scheduler

Hello Mark!

11 Nov 03 22:33, mark lewis wrote to Gord Hannah:

 ml> i've got cron utils and such... the problem is when the time for the
 ml> event passes while the machine is jambed or even turned off... i have
 ml> events that need to run as soon as the machine returns to operational
 ml> condition... crons won't do that... note that i'm speaking of things
 ml> that may not run but once a month or less... if the event time passes, i
 ml> don't want to have to wait for another month before it runs... i need it
 ml> to run now...
 ml> maybe that explanation makes better sense now?
yes. there is something under linux precisely for that. I think it is
called anachron. You can always grab the source and recompile with emx. For
small things it is usually smooth sailing. The alternative is to build a
similar system using Rexx. Every time you boot the system, your script
reads the database of things to do, check when it was done the last time.
If the delay is passed, it does it and updates the database/flag until next
time.


                             -= Francois =-

                       http://www.telematique.org/ft

A naked man fears no pickpocket...

--- FMailX 1.48b
* Origin: Xara Sto Pragma ! Gasperich - Luxembourg -> (FidoNet 2:270/25.2)
SEEN-BY: 633/267 270
@PATH: 270/25 396/45 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.