Mike McClain wrote:
> man cron says:
> 'In general, the admin should not use /etc/cron.d/, but use the
> standard system crontab /etc/crontab.'
I can only most strongly disagree with that sentiment! :-)
I hadn't ever seen that message before. Considering the fact that
Paul Vixie hasn't release
Hi Bob,
OK I'll try it but have a question.
On Fri, Jul 20, 2012 at 01:28:04PM -0600, Bob Proulx wrote:
> Mike McClain wrote:
> > ... and haven't seen any way to get files in /etc/cron.d/ run at
> > specific times.
>
> The format of the /etc/cron.d/ files is the same format as the
> /etc/cro
Bob Proulx wrote:
> # Run mylocalscript every hour.
> 0 17 * * * root /usr/local/bin/mylocalscript
That is what I get for constructing an example in a rush. Obviously
that comment doesn't match. Oh well. You get the idea.
Bob
signature.asc
Description: Digital signature
Mike McClain wrote:
> ... and haven't seen any way to get files in /etc/cron.d/ run at
> specific times.
The format of the /etc/cron.d/ files is the same format as the
/etc/crontab. Whatever lines you would put into /etc/crontab you
would simply put into a file in /etc/cron.d instead. No differe
Hi Bob,
On Wed, Jul 18, 2012 at 04:32:03PM -0600, Bob Proulx wrote:
> Mike McClain wrote:
> > I've a cron job run daily from /etc/crontab,
>
> Instead of using the BSD-style interface let me strongly encourage you
> to start using the newer Vixie-cron-style interface of /etc/cron.d/
> where t
Hi Chris,
On Thu, Jul 19, 2012 at 12:06:33PM +0100, Chris Davies wrote:
> Mike McClain wrote:
> > /mc/bin/daily sets umask
> > umask 037 # save files rw owner, group read only
>
> > then runs a script like so:
> > [ -e /mc/bin/secure ] && /mc/bin/secure 2>&1 | tee /root/s
Mike McClain wrote:
> /mc/bin/daily sets umask
> umask 037 # save files rw owner, group read only
> then runs a script like so:
> [ -e /mc/bin/secure ] && /mc/bin/secure 2>&1 | tee /root/sysstats/secure.log
You want the output to go to the cron email as well as to the log
Mike McClain wrote:
> I've a cron job run daily from /etc/crontab,
Instead of using the BSD-style interface let me strongly encourage you
to start using the newer Vixie-cron-style interface of /etc/cron.d/
where they can be separate and individual files. That way the file
can be dropped into
Howdy,
I've a cron job run daily from /etc/crontab,
the entry looks like this:
0 2 * * * root[ -d /mc/bin ] && /mc/bin/daily;
/mc/bin/daily sets umask
umask 037 # save files rw owner, group read only
then runs a script like so:
[ -e /mc/bin/secure ] && /mc/b
9 matches
Mail list logo