# Cron not working

**URL:** <https://community.unix.com/t/cron-not-working/359040>\
**Category:** SuSE\
**Created:** [March 8, 2016, 10:41pm UTC](https://community.unix.com/t/cron-not-working/359040 "2016-03-08T22:41:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![solaris\_1977](https://community.unix.com/letter_avatar/solaris_1977/32/6_449c533f586939b6e5f246632a46421f.png) [@solaris\_1977](https://community.unix.com/u/solaris_1977)\
**Post date:** [March 8, 2016, 10:41pm UTC](https://community.unix.com/t/cron-not-working/359040/1 "2016-03-08T22:41:45Z")

</div>

Hi,  
It is SLES 10.3 VM. Suddenly cron stopped working on this and I am not able to figure out, where it is failing. It is not running with even root. I gave a simple job of redirection of 'date' command, that also doesn't work. Can somebody help me to fix this ?

```auto
vmprdt23:~ # ps -ef | grep -i cron
root 24421 1 0 16:56 ? 00:00:00 /usr/sbin/cron
root 29262 28708 0 19:36 pts/0 00:00:00 grep -i cron
vmprdt23:~ # /etc/init.d/cron status
Checking for Cron: running
vmprdt23:~ #
vmprdt23:~ # crontab -l | grep -i date
37 19 * * * /bin/date >> /var/tmp/date_0
vmprdt23:~ #

```

Below is from /var/log/messages

```nohighlight
Mar 8 19:37:01 vmprdt23 /usr/sbin/cron[24421]: (root) RELOAD (tabs/root)

```

---

<div class="post-metadata">

**Author:** ![RudiC](https://community.unix.com/letter_avatar/rudic/32/6_449c533f586939b6e5f246632a46421f.png) [@RudiC](https://community.unix.com/u/RudiC)\
**Post date:** [March 9, 2016, 3:35am UTC](https://community.unix.com/t/cron-not-working/359040/2 "2016-03-09T03:35:41Z")

</div>

Looks like you missed the scheduled execution time by a second when reloading the `crontab` ; it will now execute the next day.

---

<div class="post-metadata">

**Author:** ![solaris\_1977](https://community.unix.com/letter_avatar/solaris_1977/32/6_449c533f586939b6e5f246632a46421f.png) [@solaris\_1977](https://community.unix.com/u/solaris_1977)\
**Post date:** [March 9, 2016, 3:40am UTC](https://community.unix.com/t/cron-not-working/359040/3 "2016-03-09T03:40:24Z")

</div>

It was not missed. I tried it multiple times and it never ran. May be I picked wrong example above.

---

<div class="post-metadata">

**Author:** ![RudiC](https://community.unix.com/letter_avatar/rudic/32/6_449c533f586939b6e5f246632a46421f.png) [@RudiC](https://community.unix.com/u/RudiC)\
**Post date:** [March 9, 2016, 4:05am UTC](https://community.unix.com/t/cron-not-working/359040/4 "2016-03-09T04:05:35Z")

</div>

Is that entry correctly terminated with a \<newline\> char?

---

<div class="post-metadata">

**Author:** ![solaris\_1977](https://community.unix.com/letter_avatar/solaris_1977/32/6_449c533f586939b6e5f246632a46421f.png) [@solaris\_1977](https://community.unix.com/u/solaris_1977)\
**Post date:** [March 9, 2016, 12:14pm UTC](https://community.unix.com/t/cron-not-working/359040/5 "2016-03-09T12:14:13Z")

</div>

Yes, I confirmed that entry is correctly terminated. Still it is not fine.
