Scheduling doesn't work properly

Post Reply
brozen0
Posts: 12
Joined: Sun Sep 04, 2005 2:44 am

Scheduling doesn't work properly

Post by brozen0 »

Hi,

We're using version 5.01.1123091539 20050803.

I try to schedule a few different profiles to automatically walk at different times. Only the last one scheduled is what shows up in "texis -LS".

I then did a "texis -wipesched" and then went to each profile and unscheduled them. After that I then went and tried to schedule them, one by one, and still -- only the last one is what sticks in "texis -LS".

Any ideas?

Thanks.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Scheduling doesn't work properly

Post by mark »

What's your webinator scripts version?
brozen0
Posts: 12
Joined: Sun Sep 04, 2005 2:44 am

Scheduling doesn't work properly

Post by brozen0 »

The search4 script is 5.1.22 and the dowalk script is 5.1.24.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Scheduling doesn't work properly

Post by mark »

When you set the schedule does the top of the page say it scheduled successfully? Are there any error messages (check vortex.log too)?
brozen0
Posts: 12
Joined: Sun Sep 04, 2005 2:44 am

Scheduling doesn't work properly

Post by brozen0 »

Yes, it says: [Rewalk scheduled for "daily at 2"] or [Rewalk scheduled for "daily at 1"] (or whatever else I set it to).

If I delete vortex.log before scheduling, it isn't created after I do schedule the rewalks.

"texis -LS" still only shows the last job scheduled.

The last job scheduled *does* run correctly though, and on schedule....but I need to schedule 5 more. :)
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Scheduling doesn't work properly

Post by mark »

I'm not able to replicate that with that version of dowalk. Have you modified dowalk at all?

It will only create vortex.log if there's an error. Try generating an error by executing a non-existant script to ensure that it's able to create the log.
brozen0
Posts: 12
Joined: Sun Sep 04, 2005 2:44 am

Scheduling doesn't work properly

Post by brozen0 »

I haven't modified dowalk at all.

vortex.log is indeed created when there are errors.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Scheduling doesn't work properly

Post by mark »

You could use cron to run the walks, see "using dowalk" in the manual.
brozen0
Posts: 12
Joined: Sun Sep 04, 2005 2:44 am

Scheduling doesn't work properly

Post by brozen0 »

Is there any way I can add jobs to the schedule manually from the command-line, as opposed to from the interface?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Scheduling doesn't work properly

Post by mark »

You'd have to insert manually into SYSSCHEDULE

texis -u _SYSTEM -p "" -d INSTALLDIR/texis/testdb -s "insert into SYSSCHEDULE(id,PATH,SUFFIX,SCHEDULE,NEXTRUN,VARS,OPTIONS) values(counter,'INSTALLDIR/texis/scripts/dowalk','/dispatch.txt','daily at 1','tomorrow 1am','profile=YOURPROFILE&what=sched','first last')"

Adjust INSTALLDIR, YOURPROFILE, the schedule string and nextrun string to your preferences.
Post Reply