It is my understanding that variables can be set in the crontab itself as
well.  use 'man crontab' for more info

-dave

On Mon, 15 Mar 1999, Nathan Meyers wrote:

> > Does anybody have any experience running java apps from cron.
> > I can't seem to get the syntax right.
> 
> Works fine for me. Couple of caveats:
> 
> 1) Make sure you've got the syntax right in crontab... the right number of
> fields and all that. If you can't run "echo foo >bar" from cron, something else
> is wrong.
> 
> 2) Cron isn't going to read your startup files (.profile, .bashrc, etc.) files
> when it kicks off actions. If you're depending on environment set in those
> files, such as CLASSPATH, you'd better find another way to set it: put the whole
> thing (setting environment and invoking the JVM) into a shell script and invoke
> the script from cron.
> 
> Nathan
> 
> ---------------------------------------------
> This message was sent using Endymion MailMan.
> http://www.endymion.com/products/mailman/
> 
> 
> 
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to