You are not logged in.

#1 2011-12-04 17:42:44

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,729
Website

arch guidelines regarding modification of a root's crontab [SOLVED]

As I understand it, the modification of root's crontab would be off limits, i.e. adding a line to have a daemon do something at a regular interval?  Is this correct?  If so, is the only option then to use a 'readme.install' to inform the user to manually set an entry in the crontab?

Last edited by graysky (2011-12-05 21:40:14)

Offline

#2 2011-12-05 01:40:13

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: arch guidelines regarding modification of a root's crontab [SOLVED]

I thought that's what the following directories were for:-

ls /etc/cron.*

Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2011-12-05 21:40:01

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,729
Website

Re: arch guidelines regarding modification of a root's crontab [SOLVED]

You're right, plus a number of packages make use of this.  Thanks.

$ find /var/abs/extra -name "PKGBUILD" -exec grep --color=auto "/etc/cron" {} \; -print
  install -D -m744 "${srcdir}/chkrootkit.cron" "${pkgdir}/etc/cron.weekly/chkrootkit"
/var/abs/extra/chkrootkit/PKGBUILD
	install -d -m755 "$pkgdir/etc/cron."{hourly,daily,weekly,monthly} 
	install -D -m755 extra/prune-cronstamps "$pkgdir/etc/cron.d/prune-cronstamps"
/var/abs/extra/dcron/PKGBUILD
  install -D -m755 "${srcdir}"/squid.cron "${pkgdir}"/etc/cron.weekly/squid
/var/abs/extra/squid/PKGBUILD
	install -D -m744 ${srcdir}/pkgstats.cron ${pkgdir}/etc/cron.weekly/pkgstats
/var/abs/extra/pkgstats/PKGBUILD
  install -D -m 744 $srcdir/hylafax.cron.daily $pkgdir/etc/cron.daily/hylafax
/var/abs/extra/hylafax/PKGBUILD

Offline

Board footer

Powered by FluxBB