[svlug] Cron not working

Juan Enciso Juan.Enciso at corp.terra.com.pe
Wed Aug 5 06:53:50 PDT 2009

Hi Skip

Is running the crond daemon?

Show me this command output, please.

ps -fea | grep crond

Juan Enciso Condeña
Área de Operaciones
Terra Networks Perú, S.A.
Calle Los Sauces 374 Piso 4
Of. 403, San Isidro, Lima, Perú
Telf. (511) 411-1260 anexo 1324
Cel. (511) 996371353 
RPM: *299527 

-----Mensaje original-----
De: svlug-bounces+juan.enciso=corp.terra.com.pe at lists.svlug.org [mailto:svlug-bounces+juan.enciso=corp.terra.com.pe at lists.svlug.org] En nombre de Skip Evans
Enviado el: Miércoles, 05 de Agosto de 2009 08:20 a.m.
Asunto: [svlug] Cron not working

Hey all,

I created the following cron job with

crontab -e

as root, but it won't run.

# m 	h  	dom 	mon 	dow   	command
1	8	*	*	*	/bin/cp /mnt/BSP_usr/backup/* /usr/backup/

However, I can just cut and paste the command from crontab -l 
and it runs just fine from the command line, so I know the 
back up files are accessible from the server and can be 
written to my local drive.

I also see on my system there is no /usr/lib/cron directory at 
all, but I get the impression from what I've read root can 
always run a cron job regardless of what's in /usr/lib/cron, 
or even if it does not exist.

Any help would be greatly appreciated.

I changed permissions on /usr/backup to 777 just to make sure 
it was not a permissions issue.

I did the following to try to find it in syslog but there is 
no reference to it there.

grep CRON /var/log/syslog


Skip Evans
Big Sky Penguin, LLC
503 S Baldwin St, #1
Madison WI 53703
Those of you who believe in
telekinesis, raise my hand.
  -- Kurt Vonnegut

svlug mailing list
svlug at lists.svlug.org

More information about the svlug mailing list