Support for multiline entries
- Dominant language
- Go
- Stars
- 2.6k
- Forks
- 147
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing supercronic's crontab parser, since the issue identifies parsing as the failing entry point. Compare its handling of continued lines with the shown cron example. Done means a valid multiline entry using backslashes is accepted rather than rejected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100