|
Posted by Francois Bonzon on 09/07/06 13:51
On 2006-09-07 14:32:49 +0200, "giangiammy" <giangiammy@gmail.com> said:
> I don't know if this is possible, but I need to accomplish an action
> at a given hour (what cron does): is it possible to do something like
> this having a web hosting service with php support?
Yes, if you are able to set cron jobs on your web server. Save your
script in a PHP file like
#!/usr/bin/php
<?php
// Your code here
?>
and call it directly in your cron tab. Don't forget to make it
executable (chmod +x myscript.php or similar).
> any other possibilities to do something like this without having
> access to cron facilities?
If you are not able to set cron jobs on your server, then you might
want to try this site:
http://www.webcron.org/index.php?&lang=en
> thanks
> giammy
Navigation:
[Reply to this message]
|