I have a php script I'd like to run at regular intervals, but my isp will
not set a cron job for it but will for a perl script
Is there anyway round tis, or does anyone one know of a perl script that
might then execute the php script if I can get that to be automated?
thanks
--
PHP General
On Tue, 13 Nov 2001, Caspar Kennerdale wrote:
I have a php script I'd like to run at regular intervals, but my isp will
not set a cron job for it but will for a perl script
Is there anyway round tis, or does anyone one know of a perl script that
might then execute the php script if I can
: [PHP] cron not allowed
I have a php script I'd like to run at regular intervals, but my isp will
not set a cron job for it but will for a perl script
Is there anyway round tis, or does anyone one know of a perl script that
might then execute the php script if I can get that to be automated?
thanks
On Tue, 13 Nov 2001, Jack Dempsey wrote:
how did you plan on running php from cron? however you do that you could run
a perl script that just makes a system call and does the same thing
[blah.php]
#!/path/to/php -q
do_stuff();
[/blah.php]
Then just add a record to user crontab, running
how did you plan on running php from cron?
Well, this works for me:
0 3 * * * lynx -dump http://mysite.com/mypage.php /dev/null
HTH
Jon
**
'The information included in this Email is of a confidential nature and is
]]
Sent: Tuesday, November 13, 2001 9:29 AM
To: 'Jack Dempsey'; [EMAIL PROTECTED]
Subject: RE: [PHP] cron not allowed
how did you plan on running php from cron?
Well, this works for me:
0 3 * * * lynx -dump http://mysite.com/mypage.php /dev/null
HTH
Jon
thanks for the ideas
-Original Message-
From: Jack Dempsey [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 15:23
To: Jon Haworth; [EMAIL PROTECTED]
Subject: RE: [PHP] cron not allowed
thanks jonwas more of a 'how are you going to' rather than 'how is it
possible
7 matches
Mail list logo