Jump to content

Archived

This topic is now archived and is closed to further replies.

pluginbaby

trigger php file

Recommended Posts

Hi,

I have created a php file. I can run it on my server and it works perfectly.
I was wondering now: is there any possible way I can run the file on the server every 15 minutes automaticly (this is: I don't trigger the file myself) ??

Share this post


Link to post
Share on other sites
You can do by setting up a cron job if you are on a unix based server, or Schedule if you are on a wndows bases server.

Share this post


Link to post
Share on other sites
seems like I have a unix based server.

I can do a crontab.
But I don't understand how it works. I need to input:minute, hour, day of month, month, day of week, command

what I need to write inthere if I want it to run every 15 minutes?
the file I want to run is called update.php and is located: www.myadres.de/main/update.php

Share this post


Link to post
Share on other sites
[url=http://www.phpfreaks.com/tutorials/28/0.php]http://www.phpfreaks.com/tutorials/28/0.php[/url]

PHPFreaks.com, is there anything you can't do???

;)

Share this post


Link to post
Share on other sites
sorry to bother you again.

I can do only 1 cron job every month on my website.
Isn't there another way I can do it?

Share this post


Link to post
Share on other sites
Why does it need to be updated every 15 mins

If its for user show, then add it on the code.
and when the user goes to see it, its updated straight away

Share this post


Link to post
Share on other sites
now that I think about it, what you just said is a good idea. Stupid of me not to think about that earlier.

Thank you so much. It works now as it should work :)

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.