NAME

pmx-scheduler - the PureMessage scheduler daemon


SYNOPSIS

 pmx-scheduler [options] start
 pmx-scheduler [options] stop
 pmx-scheduler [options] restart
 pmx-scheduler [options] status
 pmx-scheduler [options] list
 pmx-scheduler [options] enable <event_id>
 pmx-scheduler [options] disable <event_id>


DESCRIPTION

The service control program that manages the PureMessage Scheduler daemon. The Scheduler daemon runs commands and persistent Perl code based on a configurable frequency. The events and their schedule are configured in the scheduler.conf configuration file.


COMMANDS

start
Start the Scheduler daemon.

stop
Stop the Scheduler daemon.

restart
Restart the Scheduler daemon.

status
Display the Scheduler daemon's status and master process ID.

list
List the scheduled events, their status and descriptions.

enable event_id
Enable the event event_id if it is disabled.

disable event_id
Disable the event event_id if it is enabled.


OPTIONS

--verbose
Print log info to STDERR if set.

--stderr file
Redirect STDERR output to file. Only used in daemon mode.

--stdout file
Redirect STDOUT output to file. Only used in daemon mode.

--umask oct
Set the default umask for the daemon. This option should not be modified.

--no-daemon
Run the Scheduler in the foreground when set.

--run-limit n
Set the maximum number of times the scheduler will run to n.

--sleep-length n
Set the maximum length of time the Scheduler will sleep between runs to n seconds. The default is 1. This value should not be modified.

--quit-file file
Set the flag-file used to inform the Scheduler that it is time to shut down. The default is prefix/var/run/scheduler.quit.

--use-utc-time
Use UTC time for timing functions.


SEE ALSO

the scheduler.conf manpage


COPYRIGHT

Copyright (C) 2000-2008 Sophos Group. All rights reserved. Sophos and PureMessage are trademarks of Sophos Plc and Sophos Group.