Re:Ask HN: What is the cheapest, easiest way to host a cronj...
by 1f60c on Monday December 19, 2022 @03:18PM
(#34057091)
AFAIK, scheduled GitHub workflows stop running after a while. But when that happens, GitHub will send you an email with a big green “Continue running workflow” button.
[ Parent
| on HN ]
Re:Ask HN: What is the cheapest, easiest way to host a cronj...
by sauruk on Monday December 19, 2022 @03:38PM
(#34057343)
sounds like time to make a “hit the big green button” github action
Re:Ask HN: What is the cheapest, easiest way to host a cronj...
by akerl_ on Monday December 19, 2022 @03:27PM
(#34057203)
I use crons to keep my Docker containers fresh, and have never hit this. But the cron commits to the repo, so I wonder if they’re flagging repos with crons but no commits recently?
Re:Ask HN: What is the cheapest, easiest way to host a cronj...
by tracker1 on Monday December 19, 2022 @04:51PM
(#34058271)
Definitely... It seems to be in 4-6 week timeframe... I'd thought about making the cron update references in the repo, but hadn't gone through that as of yet.
Re:Ask HN: What is the cheapest, easiest way to host a cronj...
by tracker1 on Monday December 19, 2022 @04:50PM
(#34058262)
I've got a couple projects like this, that mostly just create bundles of other source projects that I'm not involved with. Creating a windows installer, or docker image for projects that don't have that integrated. It's kind of annoying that they will stop in several weeks when there's no project changes.
Re:Ask HN: What is the cheapest, easiest way to host a cronj...
by moehm on Monday December 19, 2022 @05:24PM
(#34058616)
> It's kind of annoying that they will stop in several weeks when there's no project changes.
Can't you configure a GHA which commits nonsense every month?
Re:Ask HN: What is the cheapest, easiest way to host a cronj...
by tracker1 on Thursday December 22, 2022 @11:00AM
(#34094724)
Yeah... I will probably do that, with my daily check action (update a last-check) text file or something.
Re:Ask HN: What is the cheapest, easiest way to host a cronj...
by genericacct on Monday December 19, 2022 @05:27PM
(#34058656)
Can you not trigger an action via a local cronjob and the API?
Re:Ask HN: What is the cheapest, easiest way to host a cronj...
by tracker1 on Thursday December 22, 2022 @11:01AM
(#34094727)
But then I need a second system to do that.
Re:Ask HN: What is the cheapest, easiest way to host a cronj...
by WirelessGigabit on Monday December 19, 2022 @05:17PM
(#34058534)
I wonder if I can make a Github repo with an action that commits to another repo on a cron. Or itself?
Re:Ask HN: What is the cheapest, easiest way to host a cronj...
by prepend on Monday December 19, 2022 @06:37PM
(#34059446)
Actions won’t run on repos with no activity for 60 days [0]. So make sure your action commits something to the repo to keep up activity.
This seems to meet OP’s use case as they have to commit state anyway.
[0] https://docs.github.com/en/actions/managing-workflow-runs/di...