cron things

Matt Holgate <[email protected]>
Newsgroups gmane.comp.sysutils.ark.devel
Message-ID <[email protected]>
Hi,

OK, we currently have

<root-cron-fragment>
..blah..
</root-cron-fragment>

to handle the root crontab. How should it be done for other users
crontabs? For instance, I would like a cron job in the TWiki package,
which will do the automatic email notification thing.

Should it be:

<twiki-cron-fragment>
..blah..
</twiki-cron-fragment>

or maybe:

<cron-fragment>
<code privileges="twiki">
..blah..
</code>
</cron-fragment>

or even a hack like:

<root-cron-fragment>
1 1 * * * /usr/local/bin/sudo -u twiki ..blah..
</root-cron-fragment>

Ideas?

Matt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.