Im talking about /etc/cron.daily jobs! :o)

I created two files (webalizer and sarg) so my box would run them
daily...

logrotate (on /etc/cron.daily) got executed but my other two scripts
werent! (they where allright and had write permissions).

As i saw logrotate getting executed, i added my webalizer and sarg
scripts to it.

It worked allright. Today i checked that my scripts where executed fine!

Btw, shouldnt "crontab -l" return the /etc/crontab file?

proxy-adsl:/# crontab -l
no crontab for root
proxy-adsl:/# cat /etc/crontab
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file.
# This file also has a username field, that none of the other crontabs
do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user  command
25 6    * * *   root    test -e /usr/sbin/anacron || run-parts --report
/etc/cron.daily
47 6    * * 7   root    test -e /usr/sbin/anacron || run-parts --report
/etc/cron.weekly
52 6    1 * *   root    test -e /usr/sbin/anacron || run-parts --report
/etc/cron.monthly
#

It seems all went good...though i dont understand why my scripts did not
ran alone...

Thanks,
Lu�s Silva


A Dom, 2004-04-25 �s 04:44, Nuno Silva escreveu:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Lu�s Miguel Silva wrote:
> | Hello all,
> |
> | Does anybody else have problems with cron jobs?
> | I cant seem to get my cron jobs executed.
> | I allways had this problem with "mini-debian-vserver" based vservers.
> |
> | Anybody else?
> |
> 
> Ol�, Lu�s!
> 
> I don't have problems with that particular image... Are you talking
> about the /etc/cron.* directories (and /etc/crontab) or user's cron
> jobs? I suspect that it's a configuration problem. If you find the
> problem please report so that the image can be fixed :-)
> 
> Regards,
> Nuno Silva
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFAizQsOPig54MP17wRAnt8AKCyVuroxNfHI933262JQ/yqDI8/twCeN0k5
> x+3tgYD4eoCV/773IUL/k2A=
> =78Pa
> -----END PGP SIGNATURE-----
> _______________________________________________
> Vserver mailing list
> [EMAIL PROTECTED]
> http://list.linux-vserver.org/mailman/listinfo/vserver

_______________________________________________
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to