abertschi / postcards

A CLI for the Swiss Postcard Creator :postbox:
https://abertschi.ch/blog/2022/receiving-postcards/
MIT License
36 stars 8 forks source link

add --sleep argument #39

Open pietdevaere opened 4 years ago

pietdevaere commented 4 years ago

Add a flag --sleep that

In combination with the postcards-folder plugin his would make it very easy to run the program as a systemd service using Restart: always. This is superior over using cron as it would eliminate the time between the quota becoming available and the next execution of the cron job.

pietdevaere commented 4 years ago

Might implement this myself, I assume this should be easy to implement.