|
NAMEuscheduleconf - configure a scheduling serviceSYNOPSISuscheduleconf DIR ACCT LOGACCT [JOBDIR [LOGDIR]]DESCRIPTIONuscheduleconf creates a svscan service directory DIR, which starts a service to uschedule for the user ACCT. The jobs will be read from JOBDIR (or ~ACCT/.uschedule, if JOBDIR is not given or only contains a minus character).Logging information will be written to LOGDIR (or ~ACCT/.uschedule/log, if LOGDIR is not given), using the the account LOGACCT. Version before 0.7.0 allowed to give "-" for ACCT to use the current user and "-" for LOGACCT to use ACCT for LOGACCT, but the code turned out to be buggy. See the NEWS file of the uschedule package for more information. OPTIONS-n, --no-user-change
ENVIRONMENTIn JOBDIR/env a number of environment variables are set (one file per variable). HOME, SHELL, USER and LOGNAME are set to values taken from the system password database.The PATH variable is set to /command:/usr/local/bin:/usr/bin/:/bin for any user not having an uid of 0. For users with uid 0 /usr/local/sbin:/usr/sbin:/sbin will be appended. All these variables may be changed. SECURITYKeep the following rules in mind:
EXAMPLESSetup a scheduler for system servicesCreate a uschedule service for root, with the service directory /etc/root-schedule and the logging done to /var/log/root-schedule under the "misclog" account.uscheduleconf /etc/root-schedule root misclog \ /etc/root-schedule/jobs /var/log/root-schedule Setup a scheduler for a userCreate a schedule service for uwe, having the trusted commands in /etc/uwe-schedule and any parts uwe can change in ~uwe/.uschedule:uscheduleconf /etc/uwe-schedule uwe uwe \ ~uwe/.uschedule ~uwe/.uschedule/logs AUTHORUwe Ohse, uwe@ohse.deSEE ALSOuschedule(1), uschedulecmd(1), uschedule_intro(7).The homepage may be more up-to-date, see
Visit the GSP FreeBSD Man Page Interface. |