FTP Advanced Scheduling

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf FTP Advanced Scheduling

  • Creator
    Topic
  • #55579
    Michael Hertel
    Participant

      Note to (future) self:

      Advanced scheduling for FTP on 6.2 works as following:

      * * * * * *

      Seconds Minutes Hours DayOfMonth Month DayOfWeek

      Remember that ‘*’ means “every” not “any”.

      Also remember that to get a change to take, you must bounce the process, bouncing the thread doesn’t work and you’ll just aggravate yourself.

      So make sure you zero fill the lower values like seconds and minutes.

      As an example if you want something to run once every day at 10am…

      Don’t! – * * 10 * * * ; this will run every second of every minute of the 10am hour.

      ie., 10:00:00, 10:00:01, 10:00:02, etc

      Don’t! – 0 * 10 * * * ; this will run the first second of every minute of the 10am hour.

      ie., 10:01:00, 10:02:00, 10:03:00, etc

      Do – 0 0 10 * * * ; this will run the first second of the first minute of the 10am hour.

      ie., 10:00:00 only, daily.

      In the pretty picture below, you wanted to execute the job every first second of every 55th minute of every hour on Fridays.

      0 55 * * * 5

      ie., 00:55:00, 01:55:00, 02:55:00, etc. on Fridays only

      0=Sunday,1=Monday, etc.

    Viewing 2 reply threads
    • Author
      Replies
      • #85804
        Robert Kersemakers
        Participant

          I can concur that in CL6.0 too you need to bounce the process when using advanced scheduling. Thought that weird as a thread bounce is more logical.

          Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands

        • #85805
          Michael Hertel
          Participant

            Actually Robert, I got that info from you in another post. Thank you by the way!

            You were very helpful in helping me troubleshoot what “I” was doing wrong.

          • #85806
            Robert Kersemakers
            Participant

              Glad I could help. 🙂

              Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands

          Viewing 2 reply threads
          • The forum ‘Cloverleaf’ is closed to new topics and replies.