Collection of random code snippets and examples.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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.