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
»
PHP
» php executed in a perl script?
php executed in a perl script?
LinkBack
Thread Tools
Display Modes
#
1
(
permalink
)
04-08-05, 08:12 PM
-[OnTarget]-
Newbie Coder
Join Date: Mar 2005
Location: Orlando, Florida
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
php executed in a perl script?
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-09-05, 08:04 AM
perleo
Coding Addict
Join Date: Jul 2003
Location: Ireland
Posts: 269
Thanks: 0
Thanked 0 Times in 0 Posts
just get cron to run
php -r script.php
i think -r is the option
perleo
View Public Profile
Find all posts by perleo
#
3
(
permalink
)
04-09-05, 09:51 AM
NeverMind
Community VIP
Join Date: Aug 2003
Location: K.S.A
Posts: 2,257
Thanks: 0
Thanked 2 Times in 1 Post
it's -f not -r
__________________
PHPSimplicity
We don't need a reason to help people - Zidane [
FF9
]
NeverMind
View Public Profile
Visit NeverMind's homepage!
Find all posts by NeverMind
#
4
(
permalink
)
04-09-05, 11:09 PM
-[OnTarget]-
Newbie Coder
Join Date: Mar 2005
Location: Orlando, Florida
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
not working, it says
Output from command php -f /home/gamnet/www/ts/clean.php ..
/bin/sh: line 1: php: command not found
-[OnTarget]-
View Public Profile
Visit -[OnTarget]-'s homepage!
Find all posts by -[OnTarget]-
#
5
(
permalink
)
04-10-05, 03:09 AM
NeverMind
Community VIP
Join Date: Aug 2003
Location: K.S.A
Posts: 2,257
Thanks: 0
Thanked 2 Times in 1 Post
you have to put the full path of php
__________________
PHPSimplicity
We don't need a reason to help people - Zidane [
FF9
]
NeverMind
View Public Profile
Visit NeverMind's homepage!
Find all posts by NeverMind
#
6
(
permalink
)
04-10-05, 07:05 AM
-[OnTarget]-
Newbie Coder
Join Date: Mar 2005
Location: Orlando, Florida
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
Well i fiddled around with it and just had cron do lynx
http://localhost/ts/clean.php
and it worked.
Thanks for the help!
-[OnTarget]-
View Public Profile
Visit -[OnTarget]-'s homepage!
Find all posts by -[OnTarget]-
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
File stats [name of file]
|
Help needed with math formula
»
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
2 profitable script sites for sale
cms-master.com
General Advertisements
3
07-03-07
10:17 AM
Is there any integrity of script rankings?
webmaster@atmanager.com
Hot Scripts Forum Questions, Suggestions and Feedback
17
08-06-04
12:12 AM
Recording Queries, Executed by PHP Script?
pual_cruzs
PHP
1
07-15-04
10:11 AM
Translate ASP to PHP and PERL
POSERA
ASP
0
06-12-04
01:12 AM
All times are GMT -5. The time now is
06:39 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