TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Francois Thunus
from: mark lewis
date: 2003-11-14 01:56:14
subject: Scheduler

FT> Hello Mark!

 FT> 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?

 FT> yes. there is something under linux precisely for that. I
 FT> think it is called anachron. You can always grab the source
 FT> and recompile with emx. For small things it is usually smooth
 FT> sailing. The alternative is to build a similar system using
 FT> Rexx. Every time you boot the system, your script reads the
 FT> database of things to do, check when it was done the last
 FT> time. If the delay is passed, it does it and updates the
 FT> database/flag until next time.

yup, that's what this 4DOS dayboot thingy does... however, now i have to
try to figure out how to get it to do it on specific dates in addition to
its current every x days mode... since its written in 4DOS stuff, it should
also operate just fine under 4OS2 as a "native" script... i won't
find that out, though, until i get the rest of it working as needed...

)\/(ark

* Origin: (1:3634/12)
SEEN-BY: 633/267 270
@PATH: 3634/12 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™.