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

It is an error to use tabs as crontab delimiters. #37

Closed
matoken opened this issue May 25, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@matoken
Copy link

commented May 25, 2019

$ printf "* * * * *\tcommand" | ./cronv 
panic: Failed to analyze cron '* * * * *        command': syntax error in year field: 'command'

goroutine 1 [running]:
panic
		../../../src/libgo/go/runtime/panic.go:554
main.main
		/home/mk/go/src/github.com/takumakanari/cronv/cronv/main.go:33

It is a workaround.

$ printf "* * * * *\tcommand" | tr -s '\t' ' ' | ./cronv
@takumakanari

This comment has been minimized.

Copy link
Owner

commented May 26, 2019

Thank you for your report. I'll check it later.

@takumakanari

This comment has been minimized.

Copy link
Owner

commented Jun 1, 2019

Hi @matoken, This issue was fixed in the latest version.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.