Scheduler check if cron is valid

Home Forums kbmMW Scheduler check if cron is valid

Tagged: 

Viewing 1 reply thread
  • Author
    Posts
    • #54790
      jet2050
      Participant

      Hello

      Is there a way to find out if a cron is valid? without having to wait to see if it was executed?

      Thanks in advance

      Regards

      Job Espejel

       

    • #54810
      kimbomadsen
      Keymaster

      Currently the only way is to try to set the cron statement, within a try/except clause. If the cron statement is considered invalid, an exception will be thrown.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.