| 
	
 | 
 Posted by Jerry Stuckle on 06/05/07 14:51 
Jon Slaughter wrote: 
> "shimmyshack" <matt.farey@gmail.com> wrote in message  
> news:1181034186.010284.213020@p77g2000hsh.googlegroups.com... 
>> On Jun 5, 7:21 am, Lammi <Lorenz.Lammersd...@gmail.com> wrote: 
>>> you mentioned it in the subject of your post - use cron. 
>>> 
>>> http://unixhelp.ed.ac.uk/CGI/man-cgi?crontab+5 
>>> 
>>> it's possible to call a php script via cron directly or you call a 
>>> small shellscript, that open the php, f. e. 
>>> 
>>> #!/bin/sh 
>>> 
>>> # execute php script 
>>> # -q => quiet, suppress the php-header 
>>> php -q /home/mysql/script.php 
>> if you can use cron cos you are on windows, use cronw instead. You can 
>> also register your script as a service and start that every day (the 
>> service could self-stop after its work is done) then you could use a 
>> line such as 
>> "service name" start 
>> in cron 
>> I dont see a point to registering as a service, but I mention it just 
>> for fun! 
>> 
>  
> Actually guys, I have no idea how to run a script or anything on the web  
> host's server but I assume they have this ability? (to schedule maintenance) 
>  
> I think its a linux platform so I image they have crond or something like  
> that. There web site forum was down last time I checked so I haven't found  
> out whats really going on. 
>  
> Thanks, 
> Jon 
>  
>  
 
Jon, 
 
You may or may not have the ability.  It depends on the permissions the  
host gave you.  Some allow cron jobs, some don't. 
 
--  
================== 
Remove the "x" from my email address 
Jerry Stuckle 
JDS Computer Training Corp. 
jstucklex@attglobal.net 
==================
 
  
Navigation:
[Reply to this message] 
 |