Results 1 to 7 of 7

Thread: cron expression

  1. #1
    Join Date
    Nov 2010
    Posts
    16
    Rep Power
    0

    Default cron expression

    i want to run my job every 4 hour in day so i write cron expression like this
    0 * 0/4 * * ?
    is it right to run job aftr every 4 hour in day

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    Earth to whooever your are. This is a Java forum. Find an *nix admin forum.

  3. #3
    Join Date
    Nov 2010
    Posts
    16
    Rep Power
    0

    Default i m asking abt cron expression in spring schedular for scheduling job

    i m asking abt cron expression in spring schedular for scheduling job

  4. #4
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    11,820
    Rep Power
    19

    Default

    You could have made that a bit clearer...
    Wouldn't it be better to ask this in a Spring forum?

  5. #5
    Join Date
    Nov 2010
    Posts
    16
    Rep Power
    0

    Default

    i want to run job that i scheduled by using scheduling in spring after every four hour so i write the crop expression for this like 0 * 0/4 * * ? is i right???

  6. #6
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    11,820
    Rep Power
    19

    Default

    I don't even know which bit of Spring you're talking about.

  7. #7
    lrocha is offline Member
    Join Date
    Nov 2010
    Posts
    5
    Rep Power
    0

Similar Threads

  1. Help with regular expression
    By mr.ab18 in forum New To Java
    Replies: 2
    Last Post: 08-06-2010, 10:01 PM
  2. JSF expression inside another JSF expression
    By barbarabxl in forum JavaServer Faces (JSF)
    Replies: 2
    Last Post: 05-21-2010, 03:03 PM
  3. regular expression
    By prof.deedee in forum JDBC
    Replies: 3
    Last Post: 02-19-2010, 11:15 AM
  4. regular expression
    By QkrspCmptPop in forum Advanced Java
    Replies: 8
    Last Post: 01-20-2010, 03:55 AM
  5. how to run java app on windows in a cron like on unix
    By rockie12 in forum Advanced Java
    Replies: 7
    Last Post: 05-23-2008, 01:39 PM

Posting Permissions

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