# Cron not working

**URL:** <https://forums.teamphoenixrising.net/t/cron-not-working/21259>\
**Category:** \*nix and other operating systems\
**Created:** [11 March 2011 18:42 UTC](https://forums.teamphoenixrising.net/t/cron-not-working/21259 "2011-03-11T18:42:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![drezha](https://forums.teamphoenixrising.net/user_avatar/forums.teamphoenixrising.net/drezha/32/6_2.png) [@drezha](https://forums.teamphoenixrising.net/u/drezha)\
**Post date:** [11 March 2011 18:42 UTC](https://forums.teamphoenixrising.net/t/cron-not-working/21259/1 "2011-03-11T18:42:45Z")

</div>

My crontab reads

```auto
*/10 * * * * /home/chris/Dropbox/Scripts/Linux_Scripts/Wallpaper_Randomiser.py

```

but the script wont run (however, it will run when double clicked) and it’s also executable.

Any ideas? :shrug:

---

<div class="post-metadata">

**Author:** ![Spaceboy](https://forums.teamphoenixrising.net/letter_avatar_proxy/v4/letter/s/3da27b/32.png) [@Spaceboy](https://forums.teamphoenixrising.net/u/Spaceboy)\
**Post date:** [11 March 2011 19:05 UTC](https://forums.teamphoenixrising.net/t/cron-not-working/21259/2 "2011-03-11T19:05:03Z")

</div>

I have never, ever seen a \*/10 in the timing fields of a crontab. What’s it supposed to do? Ie: How often is it supposed to run ? Every 6 seconds ?

Anything useful in the syslog ?

---

<div class="post-metadata">

**Author:** ![DoubleTop](https://forums.teamphoenixrising.net/user_avatar/forums.teamphoenixrising.net/doubletop/32/4_2.png) [@DoubleTop](https://forums.teamphoenixrising.net/u/DoubleTop)\
**Post date:** [11 March 2011 19:14 UTC](https://forums.teamphoenixrising.net/t/cron-not-working/21259/3 "2011-03-11T19:14:18Z")

</div>

that’s a every ten minues cron SpaceBoy - I think

You do have the cron daemon running Drezha?

---

<div class="post-metadata">

**Author:** ![drezha](https://forums.teamphoenixrising.net/user_avatar/forums.teamphoenixrising.net/drezha/32/6_2.png) [@drezha](https://forums.teamphoenixrising.net/u/drezha)\
**Post date:** [11 March 2011 23:18 UTC](https://forums.teamphoenixrising.net/t/cron-not-working/21259/4 "2011-03-11T23:18:15Z")

</div>

The command

```auto
ps -A | grep cron

```

gives

```auto
 1174 ? 00:00:00 cron

```

but I don’t have a /var/log/cron.log file ☹

---

<div class="post-metadata">

**Author:** ![DoubleTop](https://forums.teamphoenixrising.net/user_avatar/forums.teamphoenixrising.net/doubletop/32/4_2.png) [@DoubleTop](https://forums.teamphoenixrising.net/u/DoubleTop)\
**Post date:** [11 March 2011 23:28 UTC](https://forums.teamphoenixrising.net/t/cron-not-working/21259/5 "2011-03-11T23:28:58Z")

</div>

what the OS ?

DT.

---

<div class="post-metadata">

**Author:** ![drezha](https://forums.teamphoenixrising.net/user_avatar/forums.teamphoenixrising.net/drezha/32/6_2.png) [@drezha](https://forums.teamphoenixrising.net/u/drezha)\
**Post date:** [12 March 2011 00:29 UTC](https://forums.teamphoenixrising.net/t/cron-not-working/21259/6 "2011-03-12T00:29:03Z")

</div>

Ubuntu 10.10 64bit

---

<div class="post-metadata">

**Author:** ![drezha](https://forums.teamphoenixrising.net/user_avatar/forums.teamphoenixrising.net/drezha/32/6_2.png) [@drezha](https://forums.teamphoenixrising.net/u/drezha)\
**Post date:** [13 March 2011 10:39 UTC](https://forums.teamphoenixrising.net/t/cron-not-working/21259/7 "2011-03-13T10:39:31Z")

</div>

Someone suggested I change the line to

```auto

*/10 * * * * python2.6 /home/chris/Dropbox/Scripts/Linux_Scripts/Wallpaper_Randomiser.py

```

but that didn’t work either.

EDIT:  
Cron is working as I added

```auto

41 10 * * * touch /home/chris/test

```

and that worked fine.
