Closed Thread
Results 1 to 3 of 3

Thread: problem running cronjobs

  1. #1
    luke83 is offline x10Hosting Member luke83 is an unknown quantity at this point
    Join Date
    Mar 2010
    Posts
    3

    problem running cronjobs

    hi there,
    i'm trying to run this cron:


    */5 * * * * /usr/bin/php -f /home/luke83/public_html/index.php

    where - of course - luke83 is my account username and index.php is a simply test page with chmod 755

    what's wrong with this?

  2. #2
    Dead-i's Avatar
    Dead-i is offline Community Advocate Dead-i has a spectacular aura about
    Join Date
    Aug 2011
    Location
    United Kingdom
    Posts
    1,445

    Re: problem running cronjobs

    Have you tried using -q instead of -f ?

  3. #3
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,635

    Re: problem running cronjobs

    Code:
    /usr/bin/php -q  /home/luke83/public_html/cron/cron_job.php >>/home/luke83/public_html/cron/cron_log.txt 2>&1
    Is the format that I use and it works on Chopin.

    Any output from cron_job.php or any error messages are logged into cron_log.txt, that way you can
    1) see if the cron job is running
    2) see any errors
    Nothing is always absolutely so.

Closed Thread

Similar Threads

  1. Problem Running ASP.NET pages
    By jingcute71084 in forum Free Hosting
    Replies: 3
    Last Post: 10-03-2010, 12:34 PM
  2. Problem CronJobs
    By edoplaty in forum Free Hosting
    Replies: 4
    Last Post: 03-09-2010, 11:23 AM
  3. Problem getting statfink running
    By Beeda99 in forum Free Hosting
    Replies: 3
    Last Post: 09-15-2008, 04:01 PM
  4. Replies: 4
    Last Post: 08-02-2008, 08:51 PM
  5. I Running On A vB Forum I Have problem Now
    By Shawn Yue in forum Free Hosting
    Replies: 1
    Last Post: 04-09-2008, 02:57 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers