File: cron.d.example

package info (click to toggle)
dphys-config 20130301~current-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 468 kB
  • ctags: 13
  • sloc: sh: 927; makefile: 50
file content (16 lines) | stat: -rw-r--r-- 773 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# /etc/cron.d/dphys-config - nightly trigger automatic config updates
# authors dsbg and franklin, last modification 2009.06.27
# copyright ETH Zuerich Physics Departement
#   use under either modified/non-advertising BSD or GPL license

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# daily early morning autoupgrade of config files of our systems
#   after 03:00, when users are assumed to be least active
#   before 04:00 so that finished long before dphys-admin starts
#     by 1 hour, because random sleep 0..59min to spread load on pkg server

# no direct output, so no mailed error message if not configured
#   errors will still be recorded to syslog, enough, as not run-critical
0 3 * * *	root	dphys-config cron > /dev/null 2>&1