Log In
Sign Up
Why Join Hot Scripts?
Hot Scripts
All Categories
PHP
Python
Tools & Utilities
XML
Ruby on Rails
Ajax
Web Hosting
ASP
ASP.NET
C & C++
CFML
Flash
Java
JavaScript
CGI & Perl
HTML5
Forums
Blog
Scripts
Hosted Apps
Plugins
Design Templates
Forum
Blog
Advertise
Contact Us
Register
FAQ
Rules
Calendar
Search
Today's Posts
Mark Forums Read
RSS Feeds
Current location:
Hot Scripts Forums
»
Programming Languages
»
Perl
» n00b: perl to execute a php file
n00b: perl to execute a php file
LinkBack
Thread Tools
Display Modes
#
1
(
permalink
)
04-07-05, 05:30 PM
-[OnTarget]-
Newbie Coder
Join Date: Mar 2005
Location: Orlando, Florida
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
n00b: perl to execute a php file
Trying to use cron to execute a php file is there a way to do that, or is there a way to write a perl (.pl) script that i can have the cron job run to execute that php script.
Thanks in advance
-[OnTarget]-
View Public Profile
Visit -[OnTarget]-'s homepage!
Find all posts by -[OnTarget]-
#
2
(
permalink
)
04-10-05, 12:59 PM
Chas
Coding Addict
Join Date: Oct 2003
Location: California
Posts: 359
Thanks: 0
Thanked 0 Times in 0 Posts
Try google:
http://www.google.com/search?q=execute+php+with+cron
. The first few links have what you need. While you can do this in Perl:
Code:
perl -MLWP::Simple -e 'getprint "http://www.domain.com/script.php"'
I think wget or curl might be just as easy here.
Thats from the LWP::Simple[1] docs1
~Charlie
[1]
http://search.cpan.org/~gaas/libwww-.../LWP/Simple.pm
Chas
View Public Profile
Visit Chas's homepage!
Find all posts by Chas
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Test to see if file is finished writing?
|
converting perl script to php help!!
»
Currently Active Users Viewing This Thread: 1
(0 members and 1 guests)
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
Off
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
Forum Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
General Community
Announcements
Polls
The Lounge
New Members & Introductions
Script Requests
HotScripts.com Discussion
Hot Scripts Forum Questions, Suggestions and Feedback
General HotScripts Site Discussion
HotScripts Site Bug Reports
General Web Coding
HTML/XHTML/XML
HTML5
JavaScript
CSS
Flash & ActionScript
Programming Languages
PHP
Perl
ASP
ASP.NET
C/C++
Visual Basic
Windows .NET Programming
Everything Java
Other Languages
Other Discussions
Web Servers
Database
Other Topics
Web Design
API
Frameworks
AJAX
Security
Server Administration
Portable Device Programming
Cloud Computing
Ruby on Rails
CFML
Python
Tools and Utilities
Remotely Hosted
Web Hosting
Advertising Forums
General Advertisements
Job Offers & Assistance
Traffic Exchange
Website Reviews
Web Hosting Talk
DBForums.com
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Help with my largest perl script. Grabbing data from a file.
Sunnmann
Perl
2
04-23-08
03:27 AM
PHP Downside--Solutions?
Amulet
PHP
10
07-15-05
08:26 AM
Saving php generated file as html file
GS300
PHP
0
12-29-04
03:34 AM
Upload file to table so ONLY files tied to primary key are displayed in record?
grafixDummy
PHP
4
12-20-03
04:28 PM
Use PHP to download .html file from another site (Like LWP::Simple in Perl) ?
kevin
PHP
4
07-03-03
01:57 AM
All times are GMT -5. The time now is
04:03 AM
.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Share on Facebook
Share on Stumble Upon
Share on Twitter