The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Programming Fundamentals" Dec 02 - 2:00 PM Eastern

Auto Action things..

  • # October 27, 2009 at 10:44 am

    Is there a way that i can get my site do do an action once every 24 hours without me needing to trigger it. So basically i want the script on a php doc to be run once every 24 hours, is this possible and if so how would i do it?

    Many Thanks

    # October 27, 2009 at 11:09 am

    This reply has been reported for inappropriate content.

    I confess I only have the vaguest idea how this works but if you are on a Linux server you should be looking into "cron".

    # October 28, 2009 at 7:20 am

    great, i’m on the £8.99/month plan and they don’t let you access cron.
    This really annoys me with 1and1, everything is great, but the packages between and are totally different, the USA package that is equivalent to the UK package is half the price and has more features! But because im in England i have to use the UK site and get ripped off!

    # October 28, 2009 at 10:55 am

    This reply has been reported for inappropriate content.

    I’ve used quite a lot in mainland europe and I have just checked their technical help pages. Seems that you need to be on a dedicated server to access cron.

    What exactly are you trying to do? Maybe there is another way to approach it.

    # October 28, 2009 at 11:25 am

    I need to run the script on a php doc.
    The php doc searches a mysql database and chooses a random number from the ammount of entries in the table. It then saves the number to a text file on the server.

    # October 28, 2009 at 1:41 pm

    This reply has been reported for inappropriate content.

    Sorry, that’s beyond anything I do.
    Anyone else :?:

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed