freelanceprogrammers.org Forum Index » PHP
How to write php script to execute cron job on remote server
Joined: 09 Mar 2005
Posts: 8
How to write php script to execute cron job on remote server
Hi friends.
Hope u all will be fine and happy.
Dears..
I need a php script to execute cron job on remote server.
Thanks in advance.
Muhammad Sohail Khan
Joined: 03 Sep 2005
Posts: 3
How to write php script to execute cron job on remote server
Hi,
you have to write:
#!/usr/bin/php -q
as first line (use your right path for php directory).
ex:
#!/usr/bin/php -q
<?php
echo "bla bla bla";
?>
hope to be useful!
bye,
Paolo Iannotta
2005/10/13, Muhammad Sohail Khan <soha_gg@...>:
>
> Hi friends.
>
> Hope u all will be fine and happy.
>
> Dears..
>
> I need a php script to execute cron job on remote server.
>
> Thanks in advance.
>
> Muhammad Sohail Khan
>
>
>
>
>
> PHP Data object relational mapping generator -
> http://www.meta-language.net/
>
>
>
> SPONSORED LINKS
> Php
developer<http://groups.yahoo.com/gads?t=ms&k=Php+developer&w1=Php+developer&w2=
Basic+programming+language&w3=Computer+programming+languages&w4=Programming+lang
uages&w5=Object+oriented+programming&w6=Object+oriented+programming+tutorial&c=6
&s=189&.sig=Go57PZfEJUXyhVMKXHevgQ> Basic
> programming
language<http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Php+d
eveloper&w2=Basic+programming+language&w3=Computer+programming+languages&w4=Prog
ramming+languages&w5=Object+oriented+programming&w6=Object+oriented+programming+
tutorial&c=6&s=189&.sig=bhALr1AysJyo_QtFkNs-_g> Computer
> programming
languages<http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=
Php+developer&w2=Basic+programming+language&w3=Computer+programming+languages&w4
=Programming+languages&w5=Object+oriented+programming&w6=Object+oriented+program
ming+tutorial&c=6&s=189&.sig=crWMbNuTpQo7GcDczXxC7g> Programming
>
languages<http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Php+devel
oper&w2=Basic+programming+language&w3=Computer+programming+languages&w4=Programm
ing+languages&w5=Object+oriented+programming&w6=Object+oriented+programming+tuto
rial&c=6&s=189&.sig=ilvPwIkcb6Rcgq8rB1VUuQ> Object
> oriented
programming<http://groups.yahoo.com/gads?t=ms&k=Object+oriented+programming&w1=P
hp+developer&w2=Basic+programming+language&w3=Computer+programming+languages&w4=
Programming+languages&w5=Object+oriented+programming&w6=Object+oriented+programm
ing+tutorial&c=6&s=189&.sig=X-egmMGYu6ib76_snuXIAQ> Object
> oriented programming
tutorial<http://groups.yahoo.com/gads?t=ms&k=Object+oriented+programming+tutoria
l&w1=Php+developer&w2=Basic+programming+language&w3=Computer+programming+languag
es&w4=Programming+languages&w5=Object+oriented+programming&w6=Object+oriented+pr
ogramming+tutorial&c=6&s=189&.sig=TYAiLWTbKMLDLqFwDSFxFw>
> ------------------------------
> YAHOO! GROUPS LINKS
>
>
> - Visit your group "php-objects<http://groups.yahoo.com/group/php-objects>"
> on the web.
> - To unsubscribe from this group, send an email to:
>
php-objects-unsubscribe@yahoogroups.com<php-objects-unsubscribe@yahoogroups.com?
subject=Unsubscribe>
> - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------
>
[Non-text portions of this message have been removed]
Joined: 13 Oct 2005
Posts: 1
How to write php script to execute cron job on remote server
If you want to execute a PHP script on demand...
system("nohup php scrip.php &");
[]s
André AE
Paolo Iannotta wrote:
> I`m sorry mate, but I cannot help you more with this problem :-(
>
> 2005/10/13, Muhammad Sohail Khan <mr_sohail_khan@...>:
>
>> Thanx Paolo for u r quick responce..but still problem here.....i think i
>>cant explain my problem...
>>plz look again.....
>>
>>Actually i m writing a php page let sya a.php and then upload this page on
>>the remote server..when this page executed the cronjob start...
>>i have tried to write a page like this......but still problem........ i
>>will waite for ur kind guidence..
>>
>>the page is.......its testing page..
>>
>>
>><?
>>//echo `<pre>`;
>>//echo system(`ls`,$retval1);
>>//echo `</pre>`;
>>echo exec(`service crond start`); // try to execute crond service on the
>>remote server
>>//echo $var;
>>$f = popen(`crontab -e`,`w`);
>>echo $f;
>>fwrite($f ,exec(`02 * * * * /big/dom/xfrumhere/www/beta/welcome1.php`));
>>//echo $var2;
>>pclose($f);
>>echo system(`crontab -l`,$retVal);
>>$n = count($retVal);
>>echo " count.....". $n;
>>echo $retVal;
>>?>
>>
>>Regards
>>Muhammad Sohail Khan
>>Paolo Iannotta <paolo.iannotta@...> wrote:
>>Hi,
>>you have to write:
>>
>>#!/usr/bin/php -q
>>
>>as first line (use your right path for php directory).
>>
>>ex:
>>#!/usr/bin/php -q
>><?php
>>echo "bla bla bla";
>>?>
>>
>>hope to be useful!
>>bye,
>>Paolo Iannotta
>>
>>
>>
>>
>>2005/10/13, Muhammad Sohail Khan <soha_gg@...>:
>>
>>>Hi friends.
>>>
>>>Hope u all will be fine and happy.
>>>
>>>Dears..
>>>
>>>I need a php script to execute cron job on remote server.
>>>
>>>Thanks in advance.
>>>
>>>Muhammad Sohail Khan
>>>
>>>
>>>
>>>
>>>
>>>PHP Data object relational mapping generator -
>>>http://www.meta-language.net/
>>>
>>>
>>>
>>>SPONSORED LINKS
>>>Php developer<
>>
>>http://groups.yahoo.com/gads?t=ms&k=Php+developer&w1=Php+developer&w2=Basic+pr
ogramming+language&w3=Computer+programming+languages&w4=Programming+languages&w5
=Object+oriented+programming&w6=Object+oriented+programming+tutorial&c=6&s=189&.
sig=Go57PZfEJUXyhVMKXHevgQ>
>>Basic
>>
>>>programming language<
>>
>>http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Php+develope
r&w2=Basic+programming+language&w3=Computer+programming+languages&w4=Programming
+languages&w5=Object+oriented+programming&w6=Object+oriented+programming+tutoria
l&c=6&s=189&.sig=bhALr1AysJyo_QtFkNs-_g>
>>Computer
>>
>>>programming languages<
>>
>>http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=Php+deve
loper&w2=Basic+programming+language&w3=Computer+programming+languages&w4=Program
ming+languages&w5=Object+oriented+programming&w6=Object+oriented+programming+tut
orial&c=6&s=189&.sig=crWMbNuTpQo7GcDczXxC7g>
>>Programming
>>
>>>languages<
>>
>>http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Php+developer&w2=
Basic+programming+language&w3=Computer+programming+languages&w4=Programming+lang
uages&w5=Object+oriented+programming&w6=Object+oriented+programming+tutorial&c=6
&s=189&.sig=ilvPwIkcb6Rcgq8rB1VUuQ>
>>Object
>>
>>>oriented programming<
>>
>>http://groups.yahoo.com/gads?t=ms&k=Object+oriented+programming&w1=Php+develop
er&w2=Basic+programming+language&w3=Computer+programming+languages&w4=Programmin
g+languages&w5=Object+oriented+programming&w6=Object+oriented+programming+tutori
al&c=6&s=189&.sig=X-egmMGYu6ib76_snuXIAQ>
>>Object
>>
>>>oriented programming tutorial<
>>
>>http://groups.yahoo.com/gads?t=ms&k=Object+oriented+programming+tutorial&w1=Ph
p+developer&w2=Basic+programming+language&w3=Computer+programming+languages&w4=P
rogramming+languages&w5=Object+oriented+programming&w6=Object+oriented+programmi
ng+tutorial&c=6&s=189&.sig=TYAiLWTbKMLDLqFwDSFxFw
>>
>>>------------------------------
>>>YAHOO! GROUPS LINKS
>>>
>>>
>>>- Visit your group "php-objects<
>>
>>http://groups.yahoo.com/group/php-objects>"
>>
>>>on the web.
>>>- To unsubscribe from this group, send an email to:
>>>php-objects-unsubscribe@yahoogroups.com<
>>
>>php-objects-unsubscribe@yahoogroups.com?subject=Unsubscribe<http://php-objects
-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>>
>>>- Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>>>Service <http://docs.yahoo.com/info/terms/>.
>>>
>>>
>>>------------------------------
>>>
>>
>>
>>[Non-text portions of this message have been removed]
>>
>>
>>
>>PHP Data object relational mapping generator -
>>http://www.meta-language.net/
>>
>>
>>
>>SPONSORED LINKS
>>Php developer Basic programming language Computer programming languages
>>Programming languages Object oriented programming Object oriented
>>programming tutorial
>>
>>---------------------------------
>>YAHOO! GROUPS LINKS
>>
>>
>>Visit your group "php-objects" on the web.
>>
>>To unsubscribe from this group, send an email to:
>>php-objects-unsubscribe@yahoogroups.com
>>
>>Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>>
>>
>>---------------------------------
>>
>>
>>
>>
>>---------------------------------
>>Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
>>
>>[Non-text portions of this message have been removed]
>>
>>
>>
>> PHP Data object relational mapping generator -
>>http://www.meta-language.net/
>>
>>
>> ------------------------------
>>YAHOO! GROUPS LINKS
>>
>>
>> - Visit your group "php-objects<http://groups.yahoo.com/group/php-objects>"
>> on the web.
>> - To unsubscribe from this group, send an email to:
>>
php-objects-unsubscribe@yahoogroups.com<php-objects-unsubscribe@yahoogroups.com?
subject=Unsubscribe>
>> - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>> Service <http://docs.yahoo.com/info/terms/>.
>>
>>
>> ------------------------------
>>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
> PHP Data object relational mapping generator - http://www.meta-language.net/
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
Joined: 30 Sep 2005
Posts: 2
How to write php script to execute cron job on remote server
Thanx Paolo for u r quick responce..but still problem here.....i think i cant
explain my problem...
plz look again.....
Actually i m writing a php page let sya a.php and then upload this page on the
remote server..when this page executed the cronjob start...
i have tried to write a page like this......but still problem........ i will
waite for ur kind guidence..
the page is.......its testing page..
<?
//echo `<pre>`;
//echo system(`ls`,$retval1);
//echo `</pre>`;
echo exec(`service crond start`); // try to execute crond service on the remote
server
//echo $var;
$f = popen(`crontab -e`,`w`);
echo $f;
fwrite($f ,exec(`02 * * * * /big/dom/xfrumhere/www/beta/welcome1.php`));
//echo $var2;
pclose($f);
echo system(`crontab -l`,$retVal);
$n = count($retVal);
echo " count.....". $n;
echo $retVal;
?>
Regards
Muhammad Sohail Khan
Paolo Iannotta <paolo.iannotta@...> wrote:
Hi,
you have to write:
#!/usr/bin/php -q
as first line (use your right path for php directory).
ex:
#!/usr/bin/php -q
<?php
echo "bla bla bla";
?>
hope to be useful!
bye,
Paolo Iannotta
2005/10/13, Muhammad Sohail Khan <soha_gg@...>:
>
> Hi friends.
>
> Hope u all will be fine and happy.
>
> Dears..
>
> I need a php script to execute cron job on remote server.
>
> Thanks in advance.
>
> Muhammad Sohail Khan
>
>
>
>
>
> PHP Data object relational mapping generator -
> http://www.meta-language.net/
>
>
>
> SPONSORED LINKS
> Php
developer<http://groups.yahoo.com/gads?t=ms&k=Php+developer&w1=Php+developer&w2=
Basic+programming+language&w3=Computer+programming+languages&w4=Programming+lang
uages&w5=Object+oriented+programming&w6=Object+oriented+programming+tutorial&c=6
&s=189&.sig=Go57PZfEJUXyhVMKXHevgQ> Basic
> programming
language<http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Php+d
eveloper&w2=Basic+programming+language&w3=Computer+programming+languages&w4=Prog
ramming+languages&w5=Object+oriented+programming&w6=Object+oriented+programming+
tutorial&c=6&s=189&.sig=bhALr1AysJyo_QtFkNs-_g> Computer
> programming
languages<http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=
Php+developer&w2=Basic+programming+language&w3=Computer+programming+languages&w4
=Programming+languages&w5=Object+oriented+programming&w6=Object+oriented+program
ming+tutorial&c=6&s=189&.sig=crWMbNuTpQo7GcDczXxC7g> Programming
>
languages<http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Php+devel
oper&w2=Basic+programming+language&w3=Computer+programming+languages&w4=Programm
ing+languages&w5=Object+oriented+programming&w6=Object+oriented+programming+tuto
rial&c=6&s=189&.sig=ilvPwIkcb6Rcgq8rB1VUuQ> Object
> oriented
programming<http://groups.yahoo.com/gads?t=ms&k=Object+oriented+programming&w1=P
hp+developer&w2=Basic+programming+language&w3=Computer+programming+languages&w4=
Programming+languages&w5=Object+oriented+programming&w6=Object+oriented+programm
ing+tutorial&c=6&s=189&.sig=X-egmMGYu6ib76_snuXIAQ> Object
> oriented programming
tutorial<http://groups.yahoo.com/gads?t=ms&k=Object+oriented+programming+tutoria
l&w1=Php+developer&w2=Basic+programming+language&w3=Computer+programming+languag
es&w4=Programming+languages&w5=Object+oriented+programming&w6=Object+oriented+pr
ogramming+tutorial&c=6&s=189&.sig=TYAiLWTbKMLDLqFwDSFxFw>
> ------------------------------
> YAHOO! GROUPS LINKS
>
>
> - Visit your group "php-objects<http://groups.yahoo.com/group/php-objects>"
> on the web.
> - To unsubscribe from this group, send an email to:
>
php-objects-unsubscribe@yahoogroups.com<php-objects-unsubscribe@yahoogroups.com?
subject=Unsubscribe>
> - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------
>
[Non-text portions of this message have been removed]
PHP Data object relational mapping generator - http://www.meta-language.net/
SPONSORED LINKS
Php developer Basic programming language Computer programming languages
Programming languages Object oriented programming Object oriented programming
tutorial
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "php-objects" on the web.
To unsubscribe from this group, send an email to:
php-objects-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
---------------------------------
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
[Non-text portions of this message have been removed]
Joined: 03 Sep 2005
Posts: 3
How to write php script to execute cron job on remote server
I`m sorry mate, but I cannot help you more with this problem :-(
2005/10/13, Muhammad Sohail Khan <mr_sohail_khan@...>:
>
> Thanx Paolo for u r quick responce..but still problem here.....i think i
> cant explain my problem...
> plz look again.....
>
> Actually i m writing a php page let sya a.php and then upload this page on
> the remote server..when this page executed the cronjob start...
> i have tried to write a page like this......but still problem........ i
> will waite for ur kind guidence..
>
> the page is.......its testing page..
>
>
> <?
> //echo `<pre>`;
> //echo system(`ls`,$retval1);
> //echo `</pre>`;
> echo exec(`service crond start`); // try to execute crond service on the
> remote server
> //echo $var;
> $f = popen(`crontab -e`,`w`);
> echo $f;
> fwrite($f ,exec(`02 * * * * /big/dom/xfrumhere/www/beta/welcome1.php`));
> //echo $var2;
> pclose($f);
> echo system(`crontab -l`,$retVal);
> $n = count($retVal);
> echo " count.....". $n;
> echo $retVal;
> ?>
>
> Regards
> Muhammad Sohail Khan
> Paolo Iannotta <paolo.iannotta@...> wrote:
> Hi,
> you have to write:
>
> #!/usr/bin/php -q
>
> as first line (use your right path for php directory).
>
> ex:
> #!/usr/bin/php -q
> <?php
> echo "bla bla bla";
> ?>
>
> hope to be useful!
> bye,
> Paolo Iannotta
>
>
>
>
> 2005/10/13, Muhammad Sohail Khan <soha_gg@...>:
> >
> > Hi friends.
> >
> > Hope u all will be fine and happy.
> >
> > Dears..
> >
> > I need a php script to execute cron job on remote server.
> >
> > Thanks in advance.
> >
> > Muhammad Sohail Khan
> >
> >
> >
> >
> >
> > PHP Data object relational mapping generator -
> > http://www.meta-language.net/
> >
> >
> >
> > SPONSORED LINKS
> > Php developer<
>
http://groups.yahoo.com/gads?t=ms&k=Php+developer&w1=Php+developer&w2=Basic+prog
ramming+language&w3=Computer+programming+languages&w4=Programming+languages&w5=O
bject+oriented+programming&w6=Object+oriented+programming+tutorial&c=6&s=189&.si
g=Go57PZfEJUXyhVMKXHevgQ>
> Basic
> > programming language<
>
http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Php+developer&
w2=Basic+programming+language&w3=Computer+programming+languages&w4=Programming+l
anguages&w5=Object+oriented+programming&w6=Object+oriented+programming+tutorial&
c=6&s=189&.sig=bhALr1AysJyo_QtFkNs-_g>
> Computer
> > programming languages<
>
http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=Php+develo
per&w2=Basic+programming+language&w3=Computer+programming+languages&w4=Programmi
ng+languages&w5=Object+oriented+programming&w6=Object+oriented+programming+tutor
ial&c=6&s=189&.sig=crWMbNuTpQo7GcDczXxC7g>
> Programming
> > languages<
>
http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Php+developer&w2=Ba
sic+programming+language&w3=Computer+programming+languages&w4=Programming+langua
ges&w5=Object+oriented+programming&w6=Object+oriented+programming+tutorial&c=6&s
=189&.sig=ilvPwIkcb6Rcgq8rB1VUuQ>
> Object
> > oriented programming<
>
http://groups.yahoo.com/gads?t=ms&k=Object+oriented+programming&w1=Php+developer
&w2=Basic+programming+language&w3=Computer+programming+languages&w4=Programming+
languages&w5=Object+oriented+programming&w6=Object+oriented+programming+tutorial
&c=6&s=189&.sig=X-egmMGYu6ib76_snuXIAQ>
> Object
> > oriented programming tutorial<
>
http://groups.yahoo.com/gads?t=ms&k=Object+oriented+programming+tutorial&w1=Php+
developer&w2=Basic+programming+language&w3=Computer+programming+languages&w4=Pro
gramming+languages&w5=Object+oriented+programming&w6=Object+oriented+programming
+tutorial&c=6&s=189&.sig=TYAiLWTbKMLDLqFwDSFxFw
> >
> > ------------------------------
> > YAHOO! GROUPS LINKS
> >
> >
> > - Visit your group "php-objects<
> http://groups.yahoo.com/group/php-objects>"
> > on the web.
> > - To unsubscribe from this group, send an email to:
> > php-objects-unsubscribe@yahoogroups.com<
>
php-objects-unsubscribe@yahoogroups.com?subject=Unsubscribe<http://php-objects-u
nsubscribe@yahoogroups.com?subject=Unsubscribe>
> >
> > - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> > ------------------------------
> >
>
>
> [Non-text portions of this message have been removed]
>
>
>
> PHP Data object relational mapping generator -
> http://www.meta-language.net/
>
>
>
> SPONSORED LINKS
> Php developer Basic programming language Computer programming languages
> Programming languages Object oriented programming Object oriented
> programming tutorial
>
> ---------------------------------
> YAHOO! GROUPS LINKS
>
>
> Visit your group "php-objects" on the web.
>
> To unsubscribe from this group, send an email to:
> php-objects-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
> ---------------------------------
>
>
>
>
> ---------------------------------
> Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
>
> [Non-text portions of this message have been removed]
>
>
>
> PHP Data object relational mapping generator -
> http://www.meta-language.net/
>
>
> ------------------------------
> YAHOO! GROUPS LINKS
>
>
> - Visit your group "php-objects<http://groups.yahoo.com/group/php-objects>"
> on the web.
> - To unsubscribe from this group, send an email to:
>
php-objects-unsubscribe@yahoogroups.com<php-objects-unsubscribe@yahoogroups.com?
subject=Unsubscribe>
> - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------
>
[Non-text portions of this message have been removed]
Joined: 15 Jul 2005
Posts: 3
How to write php script to execute cron job on remote server
I think check if you have permission to do it (exec) ?
Else if you have pls explain me.
-----Original Message-----
From: php-objects@yahoogroups.com [mailto:php-objects@yahoogroups.com] On
Behalf Of Paolo Iannotta
Sent: Thursday, October 13, 2005 6:18 PM
To: php-objects@yahoogroups.com
Subject: Re: [php-objects] How to write php script to execute cron job on
remote server? please help
I`m sorry mate, but I cannot help you more with this problem :-(
2005/10/13, Muhammad Sohail Khan <mr_sohail_khan@...>:
>
> Thanx Paolo for u r quick responce..but still problem here.....i think i
> cant explain my problem...
> plz look again.....
>
> Actually i m writing a php page let sya a.php and then upload this page on
> the remote server..when this page executed the cronjob start...
> i have tried to write a page like this......but still problem........ i
> will waite for ur kind guidence..
>
> the page is.......its testing page..
>
>
> <?
> //echo `<pre>`;
> //echo system(`ls`,$retval1);
> //echo `</pre>`;
> echo exec(`service crond start`); // try to execute crond service on the
> remote server
> //echo $var;
> $f = popen(`crontab -e`,`w`);
> echo $f;
> fwrite($f ,exec(`02 * * * * /big/dom/xfrumhere/www/beta/welcome1.php`));
> //echo $var2;
> pclose($f);
> echo system(`crontab -l`,$retVal);
> $n = count($retVal);
> echo " count.....". $n;
> echo $retVal;
> ?>
>
> Regards
> Muhammad Sohail Khan
> Paolo Iannotta <paolo.iannotta@...> wrote:
> Hi,
> you have to write:
>
> #!/usr/bin/php -q
>
> as first line (use your right path for php directory).
>
> ex:
> #!/usr/bin/php -q
> <?php
> echo "bla bla bla";
> ?>
>
> hope to be useful!
> bye,
> Paolo Iannotta
>
>
>
>
> 2005/10/13, Muhammad Sohail Khan <soha_gg@...>:
> >
> > Hi friends.
> >
> > Hope u all will be fine and happy.
> >
> > Dears..
> >
> > I need a php script to execute cron job on remote server.
> >
> > Thanks in advance.
> >
> > Muhammad Sohail Khan
> >
> >
> >
> >
> >
> > PHP Data object relational mapping generator -
> > http://www.meta-language.net/
> >
> >
> >
> > SPONSORED LINKS
> > Php developer<
>
http://groups.yahoo.com/gads?t=ms&k=Php+developer&w1=Php+developer&w2=Basic+
programming+language&w3=Computer+programming+languages&w4=Programming+langua
ges&w5=Object+oriented+programming&w6=Object+oriented+programming+tutorial&c
=6&s=189&.sig=Go57PZfEJUXyhVMKXHevgQ>
> Basic
> > programming language<
>
http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Php+develo
per&w2=Basic+programming+language&w3=Computer+programming+languages&w4=Progr
amming+languages&w5=Object+oriented+programming&w6=Object+oriented+programmi
ng+tutorial&c=6&s=189&.sig=bhALr1AysJyo_QtFkNs-_g>
> Computer
> > programming languages<
>
http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=Php+de
veloper&w2=Basic+programming+language&w3=Computer+programming+languages&w4=P
rogramming+languages&w5=Object+oriented+programming&w6=Object+oriented+progr
amming+tutorial&c=6&s=189&.sig=crWMbNuTpQo7GcDczXxC7g>
> Programming
> > languages<
>
http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Php+developer&w
2=Basic+programming+language&w3=Computer+programming+languages&w4=Programmin
g+languages&w5=Object+oriented+programming&w6=Object+oriented+programming+tu
torial&c=6&s=189&.sig=ilvPwIkcb6Rcgq8rB1VUuQ>
> Object
> > oriented programming<
>
http://groups.yahoo.com/gads?t=ms&k=Object+oriented+programming&w1=Php+devel
oper&w2=Basic+programming+language&w3=Computer+programming+languages&w4=Prog
ramming+languages&w5=Object+oriented+programming&w6=Object+oriented+programm
ing+tutorial&c=6&s=189&.sig=X-egmMGYu6ib76_snuXIAQ>
> Object
> > oriented programming tutorial<
>
http://groups.yahoo.com/gads?t=ms&k=Object+oriented+programming+tutorial&w1=
Php+developer&w2=Basic+programming+language&w3=Computer+programming+language
s&w4=Programming+languages&w5=Object+oriented+programming&w6=Object+oriented
+programming+tutorial&c=6&s=189&.sig=TYAiLWTbKMLDLqFwDSFxFw
> >
> > ------------------------------
> > YAHOO! GROUPS LINKS
> >
> >
> > - Visit your group "php-objects<
> http://groups.yahoo.com/group/php-objects>"
> > on the web.
> > - To unsubscribe from this group, send an email to:
> > php-objects-unsubscribe@yahoogroups.com<
>
php-objects-unsubscribe@yahoogroups.com?subject=Unsubscribe<http://php-objec
ts-unsubscribe@yahoogroups.com?subject=Unsubscribe>
> >
> > - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> > ------------------------------
> >
>
>
> [Non-text portions of this message have been removed]
>
>
>
> PHP Data object relational mapping generator -
> http://www.meta-language.net/
>
>
>
> SPONSORED LINKS
> Php developer Basic programming language Computer programming languages
> Programming languages Object oriented programming Object oriented
> programming tutorial
>
> ---------------------------------
> YAHOO! GROUPS LINKS
>
>
> Visit your group "php-objects" on the web.
>
> To unsubscribe from this group, send an email to:
> php-objects-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
> ---------------------------------
>
>
>
>
> ---------------------------------
> Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
>
> [Non-text portions of this message have been removed]
>
>
>
> PHP Data object relational mapping generator -
> http://www.meta-language.net/
>
>
> ------------------------------
> YAHOO! GROUPS LINKS
>
>
> - Visit your group
"php-objects<http://groups.yahoo.com/group/php-objects>"
> on the web.
> - To unsubscribe from this group, send an email to:
>
php-objects-unsubscribe@yahoogroups.com<php-objects-unsubscribe@yahoogroups.
com?subject=Unsubscribe>
> - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------
>
[Non-text portions of this message have been removed]
PHP Data object relational mapping generator - http://www.meta-language.net/
Yahoo! Groups Links
Joined: 11 May 2005
Posts: 5
How to write php script to execute cron job on remote server
> Thanx Paolo for u r quick responce..but still problem here.....i think i
> cant explain my problem...
> plz look again.....
>
> Actually i m writing a php page let sya a.php and then upload this page on
> the remote server..when this page executed the cronjob start...
> i have tried to write a page like this......but still problem........ i
> will waite for ur kind guidence..
>
That`s a very dangerfull code... You open a very large backdoor...
But if you are very sure of it, you can try do something little differente.
do a little cron job to check some dir, and if some ".php" is found on it,
then execute it...
--
José Miguel Santibáñez
jms@...
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







