scron-noxz

[fork] simple cron daemon
git clone https://noxz.tech/git/scron-noxz.git
Log | Files | README | LICENSE

scron.1
1.Dd Feb 6, 2015
2.Dt SCRON 1
3.Os
4.Sh NAME
5.Nm scron
6.Nd clock daemon
7.Sh SYNOPSIS
8.Nm
9.Op Fl f Ar file
10.Op Fl n
11.Sh DESCRIPTION
12.Nm
13schedules commands to be run at specified dates and times.
14.Pp
15.Sh OPTIONS
16.Bl -tag -width Ds
17.It Fl f Ar file
18Use the specified
19.Ar file
20instead of the default
21.Ar /etc/crontab .
22.It Fl n
23Do not daemonize.
24.El
25.Sh CONFIGURATION
26Configuration is done by editing the crontab file.
27
28Columns:
29 minute, hour, day of month, month, day of week, command
30
31Separator:
32 Any number of tabs or spaces.
33
34Value:
35 * (wildcard), 30 (number), */N (repeat), 1-5 (range), or 1,3,6 (list)
36.Sh EXAMPLE
37Example of crontab file:
38 # Run updatedb at 6:00 every day
39 0	6	*	*	*	updatedb
40
41 # Run at 5:30 every business day. Log output to /var/log/backup.log.
42 30	5	*	*	1-5	syncbackup &>> /var/log/backup.log
43
44 # Run as user postmaster at 5:00 every third day of month.
45 0	5	*/3	*	*	su -c 'mail -s "Hello world" a@b.com' postmaster