Problems with cronjobs

Discussion in 'Installation/Configuration' started by estebanmora, Jul 15, 2011.

  1. estebanmora

    estebanmora New Member

    How can I run a perl script from a cron job. The following command:


    in the cron job fails to work. Also, how can I run a PHP script from the command line. With ISPConfig 2 there were no problems, but I'm having problems with ISPConfig 3.
  2. pititis

    pititis Member

    /usr/bin/perl /var/www/clients/client0/web5/cgi-bin/mva/cronjobs/
    Where /usr/bin is the path to perl in ubuntu/debian

  3. estebanmora

    estebanmora New Member

    Thanks for the reply. I didn't work. I tried placing the whole command within a bash script but it didn't work either. I don't know what to do.
  4. pititis

    pititis Member

    Are you using url, jailed, or full cron job?
  5. estebanmora

    estebanmora New Member

    The cron job belongs to a website that belongs to a client that has:

    Allowed cron job types: -1
    Max. type of cron jobs (chrooted and full implies url): Full Cron

    A lot of my websites rely on downloading information (using perl and php scrits) via cron jobs. So far the server is useless, I have to do all by hand.
  6. pititis

    pititis Member

    umm, did you set properly group and owner for the script and directories?

    Any error in cron.log?

Share This Page