cronos-bundle icon indicating copy to clipboard operation
cronos-bundle copied to clipboard

cronos:dump used in /etc/cron.d

Open mihai-stancu opened this issue 6 years ago • 1 comments

Hello,

I'd like to use the cronos:dump command to write the cron file into /etc/cron.d instead of the curent user's crontab.

A few of things would be necessary for that:

  1. The first 3 lines from the output (server name, "found X lines" and "We would have put the following in cron") should be either omitted or commented out.
  2. Specifying the user that would run the cron (and altering the output format to include the user).
  3. ...
  4. profit?

mihai-stancu avatar Sep 04 '18 23:09 mihai-stancu

Seeing as the supervisor:dump command is intended to be used like this I assume my proposal would be a welcomed idea.

If so I can prepare a pull request for this.

mihai-stancu avatar Sep 04 '18 23:09 mihai-stancu