25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
running them as crontab would do doesn't seem to do jack squat?!
root@daevid:/etc/cron.daily# test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
root@daevid:/etc/cron.daily#
root@daevid:/usr/sbin# env -i sudo sh
# cd /
# test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
#
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
02-23-2009, 07:24 PM
Smoot Carl-Mitchell
/etc/cron.daily not running
On Mon, 2009-02-23 at 11:43 -0800, Daevid Vincent wrote:
> Also, why does my ZZZ_cron_daily_test script run at the top and not
> the bottom even though it's sorted properly in a directory listing?!
Sound like you have the LC_COLLATE environment variable set. cron uses
the standard collation order e.g. LC_COLLATE=C. This sorts in strict
ASCII order. With internationalization the collation order gets more
complicated. If LC_COLLATE is set to en_US, the upper and lowercase
alphabetic characters get sorted as 'a A b B ...' instead of 'A B .. a
b ..'.
--
Smoot Carl-Mitchell
Computer Systems and
Network Consultant
smoot@tic.com
+1 480 922 7313
cell: +1 602 421 9005
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users