Collection of random code snippets and examples.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

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.