🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Rop Gonggrijp Sat, 25 Jul 1992 03:15
Trouble with CRON
#17
Author: Rop Gonggrijp
Date: Sat, 25 Jul 1992 03:15
19 lines
908 bytes
I seem to be having a problem with the waffle CRON:

Some jobs don;t get executed, but the system logs them as

            some time and date <con> call whatever

Where whatever is a batch-file I wish to run. Sometimes it says

            some time and date <com1> call whatever

And then it worked. What makes the <com> or <com1> difference, and how can
I make all the CRON jobs 'go to' com1?

All help appreciated.


--------------------------------------------------------------
Rop Gonggrijp (rop@hacktic.nl)                 I AM SPOOK-FOOD
fax: +31 20 6900968                              ^^
Re: Trouble with CRON
#18
Author: Pat Cain
Date: Mon, 27 Jul 1992 12:12
40 lines
1990 bytes
rop@hacktic.nl (Rop Gonggrijp) in <P6JFoB1w165w@hacktic.nl> writes:
> I seem to be having a problem with the waffle CRON:
> Some jobs don;t get executed.

Not sure if this would be the cause of the problem, but if you're
calling batch files in the schedule file then you should have
"call batchfile", for example:

 5  1 * * * e:\waffle\bin\stats
10  1 * * * call pollwcc
20  1 * * * call dobond
 0 19 * * * copy e:\waffle\text\peak.msg e:\waffle\text\files
30 23 * * * call pollcave

If you don't have "call" when calling batch files then jobs will be
dropped if more than one job gets delayed by a user online or whatever.

This is due to the way DOS does batch files .. in the above example, if
a user was online from 1:00 to 1:25 then "e:\waffle\bin\stats", "call
pollwcc", and "call dobond" would be put one after another in
waffle/bin/cron.bat:
  e:\waffle\bin\stats
  call pollwcc
  call dobond

 then Waffle would exit and run it then return.


But, if I had just "e:\waffle\bin\stats", "pollwcc", and "dobond" then
Waffle would create a batchfile cron.bat:
  e:\waffle\bin\stats
  pollwcc
  dobond

When DOS runs that it runs e:\waffle\bin\stats okay since it's a DOS
executable.  But because pollwcc doesn't have a CALL before it, it runs
it then when it's finished it exits back to the run.bat batch file, and
DOBOND never gets run.  This is possibly what is happening to you --
check your schedule file and see if there are CALLs before every batch
file, if not them put some in..
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads