Cron seems not working for me

From: Alexander Yerenkow <yerenkow_at_gmail.com>
Date: Wed, 31 Oct 2012 17:56:44 +0200
Hello there!
I'm probably stuck into something on two my VM FreeBSD's.

FreeBSD 10.0-CURRENT #0 r241608: Tue Oct 16 16:32:03 EEST 2012

# ls -l /etc/crontab
-rw-r--r-- 1 root wheel 554 Oct 31 17:31 /etc/crontab

# cat /etc/crontab
# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD: head/etc/crontab 194170 2009-06-14 06:37:19Z brian $
#
#minute hour mday month wday who command
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
*/5 * * * * root /usr/libexec/atrun
*/11 * * * * operator /usr/libexec/save-entropy
0 * * * * root newsyslog
1 3 * * * root periodic daily
15 4 * * 6 root periodic weekly
30 5 1 * * root periodic monthly
1,31 0-5 * * * root adjkerntz -a
* * * * * root /usr/bin/touch /tmp/ololo
* * * * * root echo dklfokdafkldj

# ps ax | grep cron
1494 - Ss 0:00.01 /usr/sbin/cron -s

# date
Wed Oct 31 17:48:41 EET 2012

/var/log/cron contains only info about reloading /etc/crontab (actually, my
stuggles), nothing more (there's no single sign of run of something).

If I stop cron, and try manually run it with some debug flags:

# cron -x pars,proc
debug flags enabled: proc pars
[1530] cron started
load_user()
load_env, read <SHELL=/bin/sh>
load_env, <SHELL> </bin/sh> -> <SHELL=/bin/sh>
load_env, read <PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin>
load_env, <PATH> </etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin> ->
<PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin>
load_env, read <*/5 * * * * root /usr/libexec/atrun>
load_env, parse error, state = 7
......

load_env, read <* * * * * root echo dklfokdafkldj>
load_env, parse error, state = 7
load_entry()...about to eat comments
load_entry()...about to parse numerics
load_entry()...about to parse username
load_entry()...got root
load_entry()...uid 0, gid 0
load_entry()...class daemon
load_entry()...about to parse command
load_entry()...returning successfully
...load_user() done


and that's it, nothing happens after this.

Any ideas? This is clean _at_r241608 installation in Esxi 5.1.0, with vmtools
installed and running. Revision was chosen as latest at some moment of
building.


-- 
Regards,
Alexander Yerenkow
Received on Wed Oct 31 2012 - 14:56:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:31 UTC