Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default Auto run with out Cron jobs

    Is it possible to auto run a .php file on my site with out using cron jobs? Its because I don't have cpanel on my localhost and my site is going to depend on a script running every hour to update some of the page content.
    Lets set the stage on fire, and hollywood will be jealous.

  2. #2
    Join Date
    Nov 2007
    Posts
    1,253
    Tokens
    150

    Latest Awards:

    Default

    I havn't really looked into it, but the only viable way would be through cron jobs.

    An idea is if you site has a page which is frequently looked at, do a function to check when the script was last run, then if its longer or equal to an hour ago... run it.

    Not a great solution I know, but would work.


    www.fragme.co = a project.

  3. #3
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    Thanks, that's a good idea I will do it like that.
    Lets set the stage on fire, and hollywood will be jealous.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •