supercronic icon indicating copy to clipboard operation
supercronic copied to clipboard

Support for multiline entries

Open RaphMad opened this issue 3 years ago • 1 comments

While migrating some of my cronjobs to supercronic, I noticed that multiple lines joined together with the \ character work in cron, but are not supported in supercronic.

For example:

*/10 * * * * echo 'a' && \
                  echo 'b' && \
                  echo 'c'

Is a valid crontab entry for most classic crons, but is rejected by supercronics parser.

RaphMad avatar Mar 30 '22 21:03 RaphMad

Greetings! Thanks for submitting this issue. I'd be happy to accept a PR (with tests) to support this feature.

neurosnap avatar Jun 23 '22 16:06 neurosnap