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 |
|
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
|
|
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. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions