Thread: vcron funkiness
View Single Post

   
  #1 (permalink)  
Old 02-21-2008, 07:33 AM
Brian Gant
 
Posts: n/a
Default vcron funkiness

I've actually got two problems, which may or may not be related.

Some prerequisite information:

cron version:
sys-apps/vixie-cron - 3.0.1-r4

crontab directory listing: (path is backlit in red)
-rwsr-x--- 1 root cron 21492 Mar 20 00:31 /usr/bin/crontab

user crontab:
*/6 * * * * * /usr/bin/fetchmail -a -s

/etc/group:
cron:x:16:cron,users


My problems are:
1) Before I can 'crontab -e' as a user I have to run 'newgrp cron'. After
this is done, I can manipulate my crontab as usual. If I close the
terminal and reopen, I have to repeat the above.

2) The above crontab entry generates an email with the following content
(as well as checking my mail) every 6 minutes

/bin/sh: line 1: foo: command not found

where foo is the name of the first file in my home directory. I'm rather
stumped. Does anyone have any ideas?

- Brian

--
There are no more lessons to be learned.
Man unlearns wisdom as swiftly as he digs his own grave.
If he must dig, let him dig for himself.
I will bury the corpses....
I will bury the corpses of those that would bury mine or that of my beloved.

Reply With Quote