Cronjobs on Github with Github Actions

note, May 27, 2023, on Mitja Felicijan's blog

In the root of your repository create a folder .github/workflows and in that folder create a file a file cron.yaml. This file can be named whatever you wish. But it has to be a yaml file.

File below (.github/workflows/cron.yaml) describes an action that will trigger every six hours and it will curl example.com.

However. Be sure that you have enough credits. Free account is not that generous with the minutes they give you for free. Check more about GitHub Actions usage on their website https://docs.github.com/en/actions.

# .github/workflows/cron.yaml
name: Do a curl every 6 hours
on:
  schedule:
    - cron: '0 */6 * * *'
jobs:
  cron:
    runs-on: ubuntu-latest
    steps:
      - name: Call some url
        run: curl 'https://example.com'

Other notes

DateTitle
Sane default for Dungeon Crawl Stone Soup Online editiondcss
Use option key as meta in Alacritty under macOS
#cat-v on weechat configuration
Previews how man page written in Troff will look like
My brand new Plan9/9front desktopplan9
Extend Lua with custom C functions using Clangc
Using ffmpeg to combine videos side by side
Execute not blocking async shell command in C#
Bulk thumbnails
10/GUI 10 Finger Multitouch User Interface
Extract lines from a file with sed
Cronjobs on Github with Github Actions
Sending signals to C programsc
Personal sane Vim defaultsvim
Write and read structs to/from files in Cc