• Scheduler

    From Gord Hannah@1:17/23.1 to mark lewis on Tue Nov 11 08:34:40 2003
    Replying to a message from mark lewis 1:3634/12 to Gordon Lewicky,

    About Echo rules, On Mon Nov 10 2003

    on their normal schedule... i think i'm going to incorporate
    something new that i've found... a neat bat file routine from the
    4dos echo, iirc... runs things on a schedule or as soon thereafter

    I use Cron2 an OS/2 utility here then set my robot to do the tasks I want done,
    my system is automated to the point all I need to do is read my mail and reply
    and manually get my anti virus updates.

    If you are running under DOS or any flavor of Windows there are programs out there that can help, but being that I am predominantly OS2 I would not know about them. :-)

    Hope this helps. Keep us posted.

    We are a fine board trying to make it better.
    http://www.pris.bc.ca/ghannah
    ghannah@pris.bc.ca
    Cheers! Gord
    -=Team OS/2=-
    --- timEd/2 1.10.y2k+
    * Origin: Marsh BBS (c), Dawson Creek, BC Canada (1:17/23.1)
  • From mark lewis@1:3634/12 to Gord Hannah on Tue Nov 11 22:33:14 2003
    on their normal schedule... i think i'm going to incorporate
    something new that i've found... a neat bat file routine from the
    4dos echo, iirc... runs things on a schedule or as soon thereafter

    I use Cron2 an OS/2 utility here then set my robot to do the
    tasks I want done, my system is automated to the point all I
    need to do is read my mail and reply and manually get my anti
    virus updates.

    i've got cron utils and such... the problem is when the time for the event passes while the machine is jambed or even turned off... i have events that need to run as soon as the machine returns to operational condition... crons won't do that... note that i'm speaking of things that may not run but once a month or less... if the event time passes, i don't want to have to wait for another month before it runs... i need it to run now...

    maybe that explanation makes better sense now?

    )\/(ark


    * Origin: (1:3634/12)
  • From Eddy Thilleman@1:261/38.3 to Mark Lewis on Wed Nov 12 12:19:27 2003
    Hello Mark,

    Tuesday 11 November 2003 22:33, mark lewis wrote to Gord Hannah:

    i've got cron utils and such... the problem is when the time for the
    event passes while the machine is jambed or even turned off... i have events that need to run as soon as the machine returns to operational condition... crons won't do that... note that i'm speaking of things
    that may not run but once a month or less... if the event time passes,
    i don't want to have to wait for another month before it runs... i
    need it to run now...

    I've a REXX program that checks and/or writes the current system date to an EA of a file of your choice and returns a return code depending on whether it's already run today/this month etc.


    Greetings -=Eddy=-

    netmail: 2:280/5003.10 1:261/38.3
    email: e.thilleman@freeler.nl
    e.thilleman@hccnet.nl

    ... Growing old is mandatory. Growing up is optional.
    --- GoldED/2 3.0.1
    * Origin: COBOL programmers wanted. (quick lighting pref.) (1:261/38.3)
  • From mark lewis@1:3634/12 to Eddy Thilleman on Wed Nov 12 10:13:30 2003
    i've got cron utils and such... the problem is when the time for the
    event passes while the machine is jambed or even turned off... i have
    events that need to run as soon as the machine returns to operational
    condition... crons won't do that... note that i'm speaking of things
    that may not run but once a month or less... if the event time passes, ml>> i don't want to have to wait for another month before it runs... i
    need it to run now...

    I've a REXX program that checks and/or writes the current
    system date to an EA of a file of your choice and returns a
    return code depending on whether it's already run today/this
    month etc.

    that's interesting... likely more OS/2 native than i'm implementing now... what
    i'm doing now is based on a 4DOS btm file... it runs under 4DOS, 4OS2, and even
    4NT... i just need to upgrade the 4DOS version on the OS/2 box... that's easy enough, though... just hate to have to do that reboot... i've already got everything set, just need to xcopy it over...

    thanks for the offer, though... hey! maybe you could post it in here or OS2REXX?

    )\/(ark


    * Origin: (1:3634/12)
  • From Francois Thunus@1:1/0 to Mark Lewis on Thu Nov 13 11:19:00 2003
    Hello Mark!

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

    i've got cron utils and such... the problem is when the time for the
    event passes while the machine is jambed or even turned off... i have events that need to run as soon as the machine returns to operational condition... crons won't do that... note that i'm speaking of things
    that may not run but once a month or less... if the event time passes, i don't want to have to wait for another month before it runs... i need it to run now...
    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)
  • From mark lewis@1:3634/12 to Francois Thunus on Fri Nov 14 01:56:14 2003
    Hello Mark!

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

    i've got cron utils and such... the problem is when the time for the
    event passes while the machine is jambed or even turned off... i have
    events that need to run as soon as the machine returns to operational
    condition... crons won't do that... note that i'm speaking of things
    that may not run but once a month or less... if the event time passes, i
    don't want to have to wait for another month before it runs... i need it
    to run now...
    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.

    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)
  • From Eddy Thilleman@1:261/38.3 to Mark Lewis on Sat Nov 15 09:34:58 2003
    Hello Mark,

    Wednesday 12 November 2003 10:13, mark lewis wrote to Eddy Thilleman:

    I've a REXX program that checks and/or writes the current
    system date to an EA of a file of your choice and returns a ....snipped....

    that's interesting... likely more OS/2 native than i'm implementing
    ....snipped....

    thanks for the offer, though... hey! maybe you could post it in here
    or OS2REXX?

    I'll post it in OS2REXX...


    Greetings -=Eddy=-

    netmail: 2:280/5003.10 1:261/38.3
    email: e.thilleman@freeler.nl
    e.thilleman@hccnet.nl

    ... Warp 4, Scotty... and close those damn Windows!
    --- GoldED/2 3.0.1
    * Origin: Is Mare Winningham and eggs as a door prize? (1:261/38.3)