Replies: 3 comments 3 replies
-
Method 3 would only work if it was a shell script, executed by the cronjob. If these jobs needs to execute in different schedules, but not serially, then you have to prefix your cron entries either with the environment variable like in Method 2 or pass the |
Beta Was this translation helpful? Give feedback.
-
The crontab file format supports environment variables. From
As a quick experiment, I set up my user's crontab (using
And it worked – I started seeing pings with body "hey barry" in Healthchecks dashboard. This means that
|
Beta Was this translation helpful? Give feedback.
-
Just an FYI: I just updated to v1.1.0 and before I had the URL of my custom Healthchecks instance without a "/" at the end. Which worked with v1.0.0. |
Beta Was this translation helpful? Give feedback.
-
Method 1 - Works:
Method 2 - Works:
Method 3 - Doesn't work:
Tested all sorts of combinations, can't get cron to execute method 3, which is the cleanest one for having multiple jobs, but only if I could set the HC_API_URL variable.
Beta Was this translation helpful? Give feedback.
All reactions