Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for multiline entries #104

Open
RaphMad opened this issue Mar 30, 2022 · 1 comment
Open

Support for multiline entries #104

RaphMad opened this issue Mar 30, 2022 · 1 comment

Comments

@RaphMad
Copy link

RaphMad commented Mar 30, 2022

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.

@neurosnap
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants