Closed Thread
Results 1 to 6 of 6
Like Tree2Likes
  • 1 Post By marshian
  • 1 Post By marquise

Thread: HELP - Running PHP script via CRON job doesn't work

  1. #1
    marquise is offline x10Hosting Member marquise is an unknown quantity at this point
    Join Date
    Aug 2008
    Posts
    2

    HELP - Running PHP script via CRON job doesn't work

    I'm trying to run a PHP script using a cron job and it just doesn't seem to wanna run. I'm on server Lotus.x10

    Using the command
    php-cron /home/username/public_html/pets/pets.php

    Loading the page manually, the script runs fine. It just won't run on a schedule.

    Can someone pls help?

    Many thanks
    Mark

  2. #2
    pdedecker is offline x10Hosting Member pdedecker is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    8

    Re: HELP - Running PHP script via CRON job doesn't work

    I'm having the exact same problem. Filled in my e-mail address, set my cronjob, but nothing happens. I too am using Lotus.x10.

  3. #3
    marshian's Avatar
    marshian is offline x10 Elder marshian is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Belgium
    Posts
    526

    Re: HELP - Running PHP script via CRON job doesn't work

    try "php -q /home/username/public_html/pets/pets.php"
    That worked for me on absolut
    dinomirt96 likes this.
    Real programmers don't document their code - if it was hard to write, it should be hard to understand.

  4. #4
    marquise is offline x10Hosting Member marquise is an unknown quantity at this point
    Join Date
    Aug 2008
    Posts
    2

    Re: HELP - Running PHP script via CRON job doesn't work

    Thanks, I have tried that as well. Strangely it worked this morning and I got the multiple cron job emails. But it has stopped working again!
    karimirt47 likes this.

  5. #5
    pdedecker is offline x10Hosting Member pdedecker is an unknown quantity at this point
    Join Date
    May 2008
    Posts
    8

    Re: HELP - Running PHP script via CRON job doesn't work

    My cronjob on Lotus.x10 has been working fine since yesterday after a moderator fixed it for me.

  6. #6
    kkenny's Avatar
    kkenny is offline Lord Of The Keys kkenny is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    I REP THE BAY. (Bay Area, CA, USA)
    Posts
    1,950

    Re: HELP - Running PHP script via CRON job doesn't work

    Please request help for your free hosting account in the Free Hosting forum. More sufficient help should be given in that area.
    kkenny - retired.
    -Became a Moderator/Staff Member on 4/23/08
    -Became Senior Mod on 8/28/08
    -Became Account Manager on 10/18/08
    -Left Staff and X10 in 2009.


Closed Thread

Similar Threads

  1. CRON Jobs and PHP
    By deadimp in forum Tutorials
    Replies: 14
    Last Post: 11-27-2008, 05:09 PM
  2. Problem With PHP Script
    By xevell in forum Programming Help
    Replies: 1
    Last Post: 07-23-2008, 03:41 AM
  3. Access to 300+ PHP scripts (2500 credits)
    By jonathanyaniv in forum The Marketplace
    Replies: 11
    Last Post: 06-03-2008, 10:58 PM
  4. Replies: 3
    Last Post: 05-10-2008, 12:05 AM
  5. Error when running PHP script
    By ipodally in forum Free Hosting
    Replies: 2
    Last Post: 01-28-2008, 09:02 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