postcards icon indicating copy to clipboard operation
postcards copied to clipboard

add --sleep argument

Open pietdevaere opened this issue 5 years ago • 1 comments

Add a flag --sleep that

  • is ignored if quota is available on one of the accounts, but
  • otherwise makes the application sleep until quota is available again.

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 avatar Jun 01 '20 07:06 pietdevaere

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

pietdevaere avatar Jun 01 '20 07:06 pietdevaere