Re: cron things

Will Partain <[email protected]>
Newsgroups gmane.comp.sysutils.ark.devel
Message-ID <[email protected]>
Matt queried...

> 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>

With what I checked in a few mins ago, you could do

    <sys-cron-fragments><table><entry name="root">
    1 1 * * * /usr/local/bin/sudo -u twiki ..blah..
    </entry></table></sys-cron-fragments>

or

    <sys-cron-fragments><table><entry name="twiki">
    1 1 * * * ..blah..
    </entry></table></sys-cron-fragments>

(i.e. a table, one entry per user you want to add stuff for)

Seemed like the right name for stuff that is basically in
support of the sidai sys-cron-config package.

I have not implemented the stuff to turn those tables into
non-root crontabs.  Yet. :-)

Will
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.