+ Reply to Thread
Results 1 to 2 of 2

Thread: Cron don't work

  1. #1
    alamar77 is offline x10Hosting Member alamar77 is an unknown quantity at this point
    Join Date
    Oct 2009
    Posts
    4

    Cron don't work

    Hello, this cron line don't work... tested on my pc all word perfectly...

    the line is:

    */10 * * * 0,1,2,3,4,5 wget -O - http://www.mponline.org/xxxx/xxxx.php >> /home/alamar77/cronjobs/log2.log

    I don't receive any email, and no error message...:dunno:

  2. #2
    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,636

    Re: Cron don't work

    On Chopin,

    Using the Cron Jobs link from cPanel,

    Unix settings, set to mail to my hotmail account,

    Timing:

    Code:
     
    */5 * * * 0,1,2,3,4,5
    Command:

    Code:
    wget -q -O - http://mysite.x10hosting.com/mycronjob.php >> /home/myusername/etc/cronout.txt
    works fine.

    Some ideas.
    1. Make sure that the email address is set properly and will recieve x10 mail.
    2. Try editing the cron.php file so that it throws an error, see if that is reported
    3. What server are you on?
    4. Make sure target directory is writeable.
    5. Make sure your script works from the web.

+ Reply to Thread

Similar Threads

  1. Prison vs Work
    By John Klyne in forum Off Topic
    Replies: 10
    Last Post: 12-21-2008, 01:44 PM
  2. having trouble getting php script to work with cron
    By mikehunt22 in forum Free Hosting
    Replies: 1
    Last Post: 11-02-2008, 09:43 AM
  3. cron jobs not working?
    By hlmaster in forum Free Hosting
    Replies: 5
    Last Post: 11-01-2008, 03:06 PM
  4. HELP - Running PHP script via CRON job doesn't work
    By marquise in forum Scripts & 3rd Party Apps
    Replies: 5
    Last Post: 08-24-2008, 09:53 PM
  5. Cron again again and again
    By Mika56 in forum Free Hosting
    Replies: 0
    Last Post: 08-18-2008, 12:03 PM

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