Re: crond
On 5 Jun., 16:13, "Jon Slaughter" <Jon_Slaugh...@ Hotmail.comwrot e:
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).
On 5 Jun., 16:13, "Jon Slaughter" <Jon_Slaugh...@ Hotmail.comwrot e:
"shimmyshac k" <matt.fa...@gma il.comwrote in message
>
news:1181034186 .010284.213020@ p77g2000hsh.goo glegroups.com.. .
>
>
>
>>
>
>
>
>
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
>
news:1181034186 .010284.213020@ p77g2000hsh.goo glegroups.com.. .
>
>
>
On Jun 5, 7:21 am,Lammi<Lorenz .Lammersd...@gm ail.comwrote:
you mentioned it in the subject of your post - use cron.
it's possible to call a php script via cron directly or you call a
small shellscript, that open the php, f. e.
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
# -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!
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
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).
Comment