Jump to content

Execute PHP File without a User


Temnis

Recommended Posts

Hey guys!

 

I have yet again, another stupid noob question :dirol:

 

I have a php-file, which does something with my mySQL Database.

<?php// something more or less useful?> 

Now I want this php-file to be executed every hour, or maybe once a day, or maybe even once a minute. I'm not pretty sure yet. But it shall happen without a client being logged in and telling the server to do so.

 

How do I accomplish that? I have not the slightest clue where to start.

 

My testserver is the IIS V8.5.9600.16384 on my Windows 8.1 PC, but the website will later be deployed on a raspberry pi.

Link to comment
Share on other sites

You're talking about a cron job. Cron jobs are server specific based on my experience. So i'd google "chron job" plus your vender name and "php".

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...