File: crontab.sample

package info (click to toggle)
diablo 1.16.test2-1
  • links: PTS
  • area: non-free
  • in suites: slink
  • size: 1,504 kB
  • ctags: 1,603
  • sloc: ansic: 17,654; perl: 2,054; sh: 260; csh: 118; makefile: 73
file content (21 lines) | stat: -rw-r--r-- 845 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# CRONTAB.SAMPLE
#
# NOTE - many crons do not understand the */nn format, in which case you
# 	 must explicitly list the field.  e.g. 0,5,10,15,20,...
#
# Run dspoolout once every 5 minutes
#
# Attempt to run dexpire once every 4 hours, and if it fails,
#
# Retry the expire run once an hour until success
# 
# The daily script rotates the logs and cleans bogus article files
#
# The weekly script regenerates the dhistory file, culling expired
# entries over 16 days old.
#
*/5 * * * *	dbin/dspoolout >> log/dspoolout.log 2>&1
5 */4 * * *	(cd adm; for i in quadhr.*; do ./$i; done) >>log/daily.log 2>&1
50 * * * *      (cd adm; for i in hourly.*; do ./$i; done) >>log/daily.log 2>&1
40 2 * * *      (cd adm; for i in daily.*; do ./$i; done) >>log/daily.log 2>&1
30 2 * * 1,4    (cd adm; for i in biweekly.*; do ./$i; done) >>log/daily.log 2>&1