Re: cron directory temporaries

John Crowhurst <[email protected]>
Newsgroups gmane.linux.slackware
Message-ID <[email protected]>
Hi Nick,

The thought I have is that they are temporary directories from the 
editor. If you change your editor with export EDITOR=/bin/vi then 
crontab -e and then see if you get folder creation. If you want to make 
the changes permanent, change the lines of EDITOR= and VIEWER= in 
/etc/profile.

Best,

John

On 25/11/2012 01:49, Nick Edwards wrote:
> Hi Again,
>
> Does anyone know why /var/spool/cron  is full of temporary
> directories, shouldn't crontab
> remove them once it puts the new crontab in place?
>
> cron.0nnc7N/  cron.8B2aUC/  cron.DQpQ2a/  cron.OCZcH6/  cron.W4dMdx/
> cron.hz6xGv/  cron.vP6O9K/
> cron.1GO7he/  cron.8b5o2U/  cron.DUMBHe/  cron.QDdO5F/  cron.aWLMXw/
> cron.jdqviV/  cron.vddmmS/
> cron.2vSGGX/  cron.AoUk2o/  cron.GmWOCm/  cron.RFEIP3/  cron.cRYUFe/
> cron.ko2PY1/  cron.vtqoiY/
> cron.6BUOO1/  cron.C4QbYY/  cron.GuKoU1/  cron.RepgN9/  cron.deMeGB/
> cron.rhok8E/  cron.x71Bte/
> cron.6R2YlJ/  cron.CGotPU/  cron.JLo8dt/  cron.SShuzQ/  cron.fixTw7/
> cron.rnU9sm/  crontabs/
>
>
> The directories are actually empty, and the only user on the server is
> root, so surely it can't  be a permissions issue
>
> eg:
>
> drwxr-xr-x  2 root root  4096 Jul 31 20:55 cron.AoUk2o/
>
> Any suggestions muchly appreciated.
>
> Niki
>
> _______________________________________________
> slackware mailing list
> [email protected]
> https://mailman.lug.org.uk/mailman/listinfo/slackware
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.