[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Crontab issues



Sadly enough I jumped the gun sending to the list.

I had forgotten to check admins email account.

Once there I saw errors coming form file pointers within the script.

Turns out when something runs crontab you need to have file pointers inside the
script
point to full paths not just to files. I had numerous info.dat's and not
/home/sites/home/info.dat

I learned something and apologize for annoying the group :)

Brian

Taco Scargo - Sun Holland - Leiden wrote:

> Hi Brian,
>
>
> > I'm loading a crontab for Admin and it doesn't appear to be running.
> >
> > Is these a "no crontabs for admin" rule I'm unaware of?
> >
> > Is there something special I have to do to allow admin to run cron jobs ?
> >
> > Thanks ahead for all info!
>
> Can you login to your machine as admin and type crontab -l and mail us the
> output. I suspect a typo in the crontab
>
> How did you create the crontab ? With crontab -e ?
>
> Any line should look like
>
> * * * * * command
>
> where the stars indicate minutes, hours etc.
>
> e.g. */15 * * * * rm -rf /tmp/*
>
> would enmpty your /tmp directory every 15 minutes
>
> With regards,
>
> Taco Scargo
>
> Professional Services Manager, EMEA
>
> Sun Microsystems                Tel. +31 (71) 565 7021
> Sun Cobalt Server Appliances    taco.scargo@xxxxxxx
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers