jamesrwhite / minicron

🕰️ Monitor your cron jobs
GNU General Public License v3.0
2.34k stars 154 forks source link

Add or integrate a process manager that will restart the server if it crashes etc #36

Closed jamesrwhite closed 9 years ago

xakraz commented 9 years ago

Hi @jamesrwhite ,

Would it be possible to make minicron server not run as a background daemon / or have a flag ?

For development, having miniron server output on stdout will be useful. We could use Foreman process manager to define environment variables and later a process manager like runit / supervisor / systemd could handle output and logs management.

It would also be great to have the same behavior for the minicron client runner. Having a directory to store Jobs logs on the host for debugging or should it be handled by the croned command ?

jamesrwhite commented 9 years ago

Hi @xakra, it is possible to do this already like so minicron server --debug

The client has flags for --verbose and --dry-run modes also. See: https://github.com/jamesrwhite/minicron#usage

jamesrwhite commented 9 years ago

The recommended way to run minicron will be via the config scripts in https://github.com/jamesrwhite/minicron/issues/146