[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: creating and logging a daily cron job



On Fri,17.Oct.08, 18:10:26, Emanoil Kotsev wrote:
 
> > this doesn't seem to be true.... the job runs and produces output and
> > root mail is (via /etc/aliases - thanks to Doug!) sent to me but yet I
> > don't get any o/p from /etc/cron.daily jobs whereas I do from all my
> > crontab jobs...
> 
> I think the *.sh extention is what's wrong, try removing it. just name the
> script backup. That's what I did and it suddenly worked and is working
> since 4 years ago.
 
Actually the dot:

,----[ run-parts(8) ]
| If neither the --lsbsysinit option nor the --regex option is given then 
| the names must consist entirely of upper and lower case
| letters, digits, underscores, and hyphens.
`----

> I did it on sarge, which is still the main server os for me.

Uh, sarge hasn't received any security updates in a while...

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature


Reply to: