Page 1 of 1

Bug report

Posted: Sat Aug 27, 2016 6:15 am
by coolman
Hello
I don't know how to report a bug. But I found a bug and I would like to inform developers. I hope they will read here:

There are two bugs with Cron section of control panel:

1) If you want to edit a crontab item, Day field will be filled with Hour field. For example orginal crontab entry is
1 2 3 * *
If you don't pay attention and don't correct Day field, entry will be changed to following if you press Save button:
1 2 2 * *

2) I entered 0 to Day field, but I should have entered between 1-31 or *. But VestapCP did not warn me as this entry was invalid. And crontab did not run until I found this entry at syslog:

Aug 26 16:22:01 cp cron[489]: Error: bad day-of-month; while reading crontab for user admin
Aug 26 16:22:01 cp cron[489]: (admin) ERROR (Syntax error, this crontab file will be ignored)

It would be better if these kind of checks is done while entering crontab entries.

Thanks

Re: Bug report

Posted: Sat Aug 27, 2016 7:00 am
by mehargags
Thanks mate... I've seen that bug too in all my Debian servers.
I've reported the bug with little more description...https://bugs.vestacp.com/issues/368
Please Vote for the Bug reported.

The Bug tracker link can be seen as a vertical button on your left on the forum pages. Check screenshot to get exact idea.
http://imgur.com/a/cvPNj