Cron Job how to?

Discussion in 'General' started by Tastiger, May 27, 2014.

  1. Tastiger

    Tastiger Member

    I am trying to setup a cron job to run a php page.

    The page is at:-
    /var/www/clients/client0/web1/web/components/com_community/cronjob.php

    I have tried running it as:-
    Code:
    wget -O /dev/null "http://www.domain.com/index.php?option=com_community&task=cron" > /dev/null 
    using my domain names but because I have 3 domains on the server the server doesn't like it.

    I have also tried:-
    Code:
    /usr/bin/wget -q /var/www/clients/client0/web1/web/components/com_community/cronjob.php
    again to no avail - what is the correct syntax to use in ISPConfig3 for such a cron job?
     
  2. srijan

    srijan New Member HowtoForge Supporter

Share This Page