Have you ever wanted to force a script to act differently when it is invoked by cron? If the script is run interactively, for example, you might want the script to prompt the user for some information ...
Systemd timers are a modern replacement for Cron. Three ways to use timers: systemd-run for one-offs, OnCalendar for cron-like schedules, and event timers for boot/start. Switching is worth it: ...
It's also easier to set up automations using n8n.
I have the following expect script that copies a nightly tar archive to another server using scp. Code: #!/usr/bin/expect -f set date [read -nonewline stdin] set file ...
I'm automating update via jigdo of debian sarge images that I burn and sell. Debian sarge isn't being updated at the moment (rc3 freeze) - so I thought it would be a good time to automate it all so ...