Joachim Ott-3 wrote:
> 
> 2009/10/12 Matthias Huber <[email protected]>:
>> Joachim Ott schrieb:
>>
>> 2009/10/11 Matthias Huber <[email protected]>:
>>
>>
>> (vixie) cron package misses /var/spool/crontabs so the crontab-command
>> does'nt store the crontab and no command is executed.
>>
>>
>> If you're talking about the standard cron that comes with shr-u: it
>> stores the tables in /var/cron/tabs - I could not successfully install
>> one with "crontab -e" for root too, but it worked for a non-root user.
>> I couldn't investigate this further because strace doesn't work with
>> suid-programs.
>>
>>
>>
>> i could successfull bring it to work as root with an mkdir
>> /var/spool/crontabs
> 
> I must have the BSD-version of vixie-cron then. As non-root, I got a
> file /var/cron/tabs/ott with "crontab -e", and for root, I always get
> "crontab: no changes made to crontab".
> 

for clearness: my crontab is also stored in /var/cron/tabs/root

so the problem exists probably in the command "crontab"

could you please test the following:
as user root:
crontab -e
  enter some task

again:
crontab -e 
  looking, is your task there or not. 
  on my system it wasn't.

then:
   mkdir /var/spool/crontabs

crontab -e (as root)  
  entering some task

crontab -e 
   testing, if the task is there.

On my system now it is there and working as _root_

-- 
View this message in context: 
http://n2.nabble.com/shr-u-missing-directory-in-cron-package-tp3804366p3808929.html
Sent from the SHR Users discussions mailing list archive at Nabble.com.
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to