Sunday, March 25, 2018

Send cron execution results to webhook URLs

You can now send your cron execution results to a webhook URL, so you can process it automatically in your callback script.

It's available in Diamond account only, and you can add it similarly to adding emails/Slack IDs at Account > Contacts.
Add webhook URL at Account > Contacts.
Please note that the timeout limit for webhook calls is only 10 seconds, so it's recommended to just store the results and process them later.

The execution result structure is similar to result in Cronlog data structure, except that it has an extra field: id as cronjob's ID.

No comments:

Post a Comment