Cronjobs not working

Discussion in 'Installation/Configuration' started by olimortimer, Dec 8, 2014.

  1. olimortimer

    olimortimer Member

    So I've setup a client as the following;

    Max. number of cron jobs = -1
    Max. Allowed Cronjob types = Full Cron
    Min. delay between executions = -1

    ...and created the following cronjob in the ISPConfig GUI under one of the sites belonging to that client;

    2
    *
    *
    *
    *
    http://cron.sitetorun.com
    Active = ticked

    ...I only want it running every 10 minutes, but set it to 2 minutes so I could debug quicker.

    It seems to have run the cron once, but then never again after that.

    I've looked in /var/log/syslog but I can't see any errors that point to this issue.

    Am I missing something? Are there any other log files that point to any issues?

    If I run the command that ISPConfig ran the first time, manually, it works ok;

    Code:
    /usr/bin/wget -q -t 1 -T 7200 -O /dev/null 'http://cron.sitetorun.com/' >/dev/null 2>&1 #cron.sitetorun.com
     
  2. olimortimer

    olimortimer Member

    Stupid mistake...forgot that the way I set it up would run at 2 minutes past the hour, not every 2 minutes.
     

Share This Page