by accident deleted the cronjob from ispconfig 3

Discussion in 'Technical' started by hbmmafia, May 19, 2013.

  1. hbmmafia

    hbmmafia New Member

    A good morning to all from the netherlands here .....
    my issue is as follow ...
    by accident i deleted the cronjob from ispconig 3 over ssh
    now almost nothing is working please help me how to make a new cronjob so it works again thanks so much ....
  2. hbmmafia

    hbmmafia New Member


    maybe not the correct way but it works .....
    what i have done was installed the ispconfig3 in a vm
    then i did this
    [email protected]:~# getent passwd | cut -d: -f1 | perl -e'while(<>){chomp;$l = `cront
    ab -u $_ -l 2>/dev/null`;print "$_\n$l\n" if $l}'

    this listed the cronjob i was missing ....
    * * * * * /usr/local/ispconfig/server/ > /dev/null 2>> /var/log/ispconf

    so i did on the server where i was missing the cronjob like this
    did crontab -e enter
    then put in that file * * * * * /usr/local/ispconfig/server/ > /dev/null 2>> /var/log/ispconf
    ig/cron.log saved it with ctrl+X
    and walla it worked :)
  3. DontSpaz

    DontSpaz New Member

    Curious as why did you just run the update.php script and let it recreate the cronjob?

Share This Page