• 6.6.1 - Weekly Parity Check runs daily?


    Ducky
    • Minor

    I've got a parity check scheduled for once a week, but the system does a check every day at same set time, not sure if this is a bug or not, as no errors are detected.

     

     

    parity_check.JPG




    User Feedback

    Recommended Comments

    In my testing it looks like parsing of the cron entry isn't done correctly. E.g.

    # crontab test
    * * * 3,6,9,12 * /boot/custom/bin/test 1> /dev/null

    The above command should be excuted in the months March, June, September and December only, but instead it is executed every month.

     

    Perhaps need to check if dcron is properly compiled?

    Edited by bonienl
    Link to comment

    I'm having the same issue on 6.6.3.  Set to run weekly, but it's running daily.   My 6.5.3 is still running weekly fine.

     

    I've tried multiple changes to the scheduler with no luck. 

     

    # Generated parity check schedule:
    0 0 * * * /usr/local/sbin/mdcmd check  &> /dev/null || :

    paritycheck.png.e30ae7178a7778f5c64b9af939f1b32e.png

    Edited by brainbone
    • Upvote 1
    Link to comment

    Looks like it's an issue with Sunday.  Monday seems to generate a more correct cron (though I'm not sure what the "|| :" is trying to do):

     

    # Generated parity check schedule:
    0 0 * * 1 /usr/local/sbin/mdcmd check  &> /dev/null || :

    paritycheck2.png.ea4ecdff1e65f18a47039b479a8bf48d.png

    Edited by brainbone
    Link to comment

    Forgot to mention, mine was fine on Monday, just Sunday was not worky! :D

    Edited by Ducky
    • Like 1
    Link to comment

    Just wanted to chime in with the same problem, I know you already identified the bug. I'm also one of the ones who needs checks done on Sunday. For now looks like Saturday will have to do!

     

     

    Link to comment


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.