It's really not more complex than :
$var = `crontab -l | grep -v "hosting dispatch"`
echo $var | crontab -
echo "our cron job" | crontab -

Would take a whole lot of the guesswork out of it.

Comments

adrian’s picture

Status: Active » Fixed

in latest commit

Anonymous’s picture

Status: Fixed » Closed (fixed)

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