Skip to main content

Search by status code or execution

Answered

Comments

3 comments

  • Official comment
    Nguyễn An Thuận

     Hi,

    It may be possible, but I have to fetch, parse and search through all execution results under your account, and it'll take a lot of server time and resource, or even hang with thousands of cronjobs.

    Besides, you can just use API function cron.failures with no ID provided, and it'll return all latest failed results which you can search.

    Anyway, I'll leave it here and see if this get more votes.

  • It.to+setcronjobdev

    Maybe it'd be easier if you add a "call https endpoint on failure" instead of notify by email. So now I'm going to upgrade the account to get notifications, and then parse my emails to create the tickets. I think that'd be easier!

     

    Thanks

    0
  • Nguyễn An Thuận

    I think that's a good idea. It has been planned and will be updated in this feature request:

    https://support.setcronjob.com/hc/en-us/community/posts/360002733532-Callback-URL-Webhook-for-cron-results 

    0

Please sign in to leave a comment.