Cron not running my user crontab

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

Cron not running my user crontab

Postby playez » Thu Feb 20, 2014 10:43

I can't make cron to run my tasks.
I'm in /etc/group users for cron, cron-vixie is running, i can write my user crontab, my user crontab is installing, but task are not running. I searchh this forum, nothing help me, i play with cron.allow/deny, in equo is no aplication that can help me, only for KDE, not for GNOME.
Sabayon14.01 with Gnome, installed 1 month ago.

below

[email protected] ~ $ ps ax | grep cron
2693 ? Ss 0:00 /usr/sbin/cron
4092 pts/0 S+ 0:00 grep --colour=auto cron
[email protected] ~ $ crontab -e
crontab: installing new crontab
[email protected] ~ $ crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.XXXX6w7bV9 installed on Thu Feb 20 11:23:13 2014)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
* * * * * /bin/echo "foobar" >> /test
[email protected] ~ $
playez
Baby Hen
 
Posts: 5
Joined: Fri Jan 31, 2014 9:09

Re: Cron not running my user crontab

Postby sabayonino » Thu Feb 20, 2014 13:37

playez wrote:I can't make cron to run my tasks.
I'm in /etc/group users for cron, cron-vixie is running, i can write my user crontab, my user crontab is installing, but task are not running. I searchh this forum, nothing help me, i play with cron.allow/deny, in equo is no aplication that can help me, only for KDE, not for GNOME.
Sabayon14.01 with Gnome, installed 1 month ago.

below

[email protected] ~ $ ps ax | grep cron
2693 ? Ss 0:00 /usr/sbin/cron
4092 pts/0 S+ 0:00 grep --colour=auto cron
[email protected] ~ $ crontab -e
crontab: installing new crontab
[email protected] ~ $ crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.XXXX6w7bV9 installed on Thu Feb 20 11:23:13 2014)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $)
* * * * * /bin/echo "foobar" >> /test
[email protected] ~ $



you are trying to write /test to the root directory ... send "test" to your home or where your user has all write permissions !


Code: Select all
* * * * *   /bin/echo "foobar" >> $HOME/test
User avatar
sabayonino
Sagely Hen
 
Posts: 2678
Joined: Sun Sep 21, 2008 1:12
Location: Italy


Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 1 guest