Collection of random code snippets and examples.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 666 B

12345678910111213141516171819202122232425262728
  1. # Crolim - Cron Limiter
  2. This utility allows you to schedule frequent cron jobs that don't actually do anything until some criteria is met (e.g. date changed).
  3. Example use case: your phone is suspended throughout the day and you want to run a daily cron job without waking the phone needlessly.
  4. ## Usage
  5. Mostly usable as a "prefix" for your cron jobs.
  6. ## Basic
  7. Run a podcast getter daily
  8. ```
  9. crolim podget
  10. ```
  11. ## Advanced
  12. Run a podcast getter daily (explicit version of the basic example):
  13. ```
  14. crolim --memory-file=$HOME/.config/crolim/memory-podcast --status-command="date +%D" podget
  15. ```
  16. ## Install
  17. Copy it to `/usr/local/bin/` with execute permissions.