Results 1 to 10 of 23

Thread: scheduling a batch job

Threaded View

  1. #6

    Default

    Quote Originally Posted by viper View Post
    Quote Originally Posted by dkaminsky View Post
    Here is a sample crontab entry (assuming classpath and beanRefContext are set up properly):

    Code:
    0 6 * * 1-5 java org.springframework.batch.execution.bootstrap.support.BatchCommandLineLauncher -Djob.configuration.path=jobs/myJob.xml -Djob.name=myJob
    At 6AM every weekday morning, launch "myJob" from file "myJob.xml"

    ???
    If you don't know what this is, don't worry.

    It is a sample entry ("crontab" entry) to configure the built-in *NIX scheduling utility known as "cron" -- this is perhaps the simplest scheduler available to non-Microsoft users so I felt it would be a good example. Again, don't worry if it doesn't apply to you.
    Last edited by dkaminsky; Jan 15th, 2008 at 01:48 PM. Reason: added original post

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •