File: crontab

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 (23 lines) | stat: -rw-r--r-- 767 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
22
23
#
#	DIABLO CRONTAB
#
# 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.
#
DBIN=/usr/lib/news/dbin
L=/var/log/news
A=/usr/lib/news/adm
#
*/5 *   * * *	$DBIN/dspoolout >> $L/dspoolout.log 2>&1
5   */4 * * *	(cd $A; for i in quadhr.*; do ./$i; done) >>$L/daily.log 2>&1
50  *   * * *	(cd $A; for i in hourly.*; do ./$i; done) >>$L/daily.log 2>&1
40  2   * * *	(cd $A; for i in daily.*; do ./$i; done) >>$L/daily.log 2>&1
30  2   * * 1,4	(cd $A; for i in biweekly.*; do ./$i; done) >>$L/daily.log 2>&1