aspose file tools*
The moose likes Linux / UNIX and the fly likes cronss job Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "cronss job" Watch "cronss job" New topic
Author

cronss job

charmy jain
Greenhorn

Joined: Dec 17, 2005
Posts: 19
how i set ejb client which is simple java class is call a ejb method from
jboss server into cronstab script shall ?

thanks
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

Can you show what you like to do without crontab from the shell?

I don't have JBoss, but calling a script from shell or from crontab is pretty similar, but:

- most environment variables don't exist in the crontab; even $PATH is usually unknown, so you have to use full pathnames or set the PATH inside the crontab.

A second popular pitfall with cron: The crontab needs a newline at the end of the file.
[ May 15, 2006: Message edited by: Stefan Wagner ]

http://home.arcor.de/hirnstrom/bewerbung
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cronss job