Bit of a follow up for #1241500: Non-destructive aegir user crontab edition

In the hosting-pause command, called during hostmaster migrate ... we called 'crontab -r' removing the whole thing :(.

CommentFileSizeAuthor
#2 preserve_crontab_on-2641776-2.patch1.93 KBhelmo

Comments

helmo created an issue. See original summary.

helmo’s picture

Status: Active » Needs review
StatusFileSize
new1.93 KB

I haven't had time to test it myself, but it should be the general idea.

helmo’s picture

Status: Needs review » Fixed

Committed with a few modifications.

  • helmo committed 3190a1a on 7.x-3.x
    Issue #2641776 by helmo: Preserve crontab on hosting-pause
    
  • helmo committed 60f97b2 on 7.x-3.x
    Issue #2641776 by helmo: Minor cleanup in cron code
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.