|
Posted by Lammi on 06/07/07 06:57
On 5 Jun., 16:13, "Jon Slaughter" <Jon_Slaugh...@Hotmail.com> wrote:
> "shimmyshack" <matt.fa...@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
oh it's a hosted server? ask your hosting provider if cronjobs are
possible. if not (or if you don't wanna ask :-) ), try
http://www.cronjob.de/ f. e. (i'm sure there are similar services in
english).
[Back to original message]
|