Results 1 to 10 of 30

Thread: Cron Jobs setup

Threaded View

  1. #1
    Elena
    Guest

    Cron Jobs setup

    In this short manual we’ll guide you through configuring cron in cPanel hosting. If your hosting account doesn't have cPanel you can configure it using ssh, which supposes you have required skills otherwise we recommend contacting your hosting helpdesk. You need it for execution different tasks like sending notifications about expired ads, removal of temporary data and other tasks. Cron sends notifications to the Administrator with reports of tasks implemented.


    1. Log into cPanel;
    2. Find and open Cron Jobs Manager:
    3. Check what is your document root path, which is necessary for setting a correct cron task. You can do it by checking the system info (Admin Panel > System Info).

    Find DOCUMENT_ROOT

    Add cron/index.php to the end of the DOCUMENT_ROOT line; you’ll get something like:

    /home/website/public_html/cron/index.php

    This is a server path to the cron file that needs to be run.

    4. Select an interval to run the cron file; we recommend setting daily midnight.

    5. Enter a command to run the cron file:

    php /home/website/public_html/cron/index.php

    In some cases you have to give an exact path to PHP in the system:

    /usr/local/bin/php

    It may be different in your system; so if you have any problems getting the right path to PHP contact your hosting helpdesk.

    You may enter your email to receive server notifications to make sure it runs properly. To disable cPanel cron notifications you have to replace your email with your account username. Emails may be helpful if you're not sure about a server path or a path to the PHP file, once cron is up and running you can disable cPanel cron notifications.

    Flynax cron file also sends email reports about tasks done, for example how many listings expired, data removed etc.
    Last edited by David; June 2, 2015 at 10:34 AM.