autosched2 -- Autoscheduler called by tsched

SYNOPSIS

autosched2

DESCRIPTION

autosched2 is the function called by the scheduler daemon tsched to process the automatic pass-scheduling records (autoschedule records) stored in the $PASSDIR/autosched file.  tsched invokes autosched2 only if there are autosched records with date/time nearing the current time. autosched2 executes these pending autosched records, adding new satellite passes to the $PASSDIR/schedlist file. After executing a given record, autosched2 increments the record's date by the record's numdays value.

autosched2 has no parameters.  It gets all the necessary information from the autosched file.

autosched2 is not intended to be an end user function.

FILES

$PASSDIR/autosched, $PASSDIR/schedlist

SEE ALSO

Autosched, resched, tsched

NOTES

The user can force the autosched file to be re-processed by simply changing the date/time of the pertinent records back prior to the current time. If doing so, the user will have to wait a few seconds before tsched recognizes this change and spawns autosched2.

The resched function can also be used to push the date/time of autosched back in time and regenerate the schedlist file.


Last Update: $Date: 2002/02/08 21:37:41 $