News
: July 14, 2008 - New Contest! -
Submit Your WordPress Theme Designs, Win BIG!
September 1, 2008 -
Submit Your Web Site for the Sept 2008 Site of the Month!
Home
Help
Search
Calendar
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
September 07, 2008, 01:08:25 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Web Hosting Forum | Lunarpages
>
Lunarpages Web Hosting - Coding
>
Lunarpages - PHP & MySQL
>
PHP Cron: No input file specified
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: PHP Cron: No input file specified (Read 714 times)
wm_crash
I wanna be Fred Flinstone
Spacescooter Operator
Offline
Posts: 49
PHP Cron: No input file specified
«
on:
October 14, 2007, 10:10:26 AM »
Hi,
I try to run a php file as cron job every 15 minutes.
I have tried:
/usr/bin/php -q /home/<myrealhomedir>/public_html/iaria/admin/cron.php
and
php -q /home/<myrealhomedir>/public_html/iaria/admin/cron.php
I get email notification stating: "No input file specified." I have no idea what that means. All file paths are correct. The file runs OK from the command line (tried on a different server as I don't have shell access on this one).
Any help is appreciated.
cheers,
wm_crash
Logged
clever_clown
Intergalactic Superstar
Offline
Posts: 184
Re: PHP Cron: No input file specified
«
Reply #1 on:
October 14, 2007, 10:58:50 AM »
Hello,
Try this: /usr/local/bin/php /home/<myrealhomedir>/public_html/iaria/admin/cron.php -q (I dont know what you mean by this param -q) anywany try it now
Regards heaps
Logged
wm_crash
I wanna be Fred Flinstone
Spacescooter Operator
Offline
Posts: 49
Re: PHP Cron: No input file specified
«
Reply #2 on:
October 14, 2007, 01:39:03 PM »
That works, thanks!
The -q option is meant to execute the php within the directory of the php file. That way, relative paths work ok.
cheers,
wm_crash
Logged
clever_clown
Intergalactic Superstar
Offline
Posts: 184
Re: PHP Cron: No input file specified
«
Reply #3 on:
October 14, 2007, 01:46:22 PM »
you are welcome
best wishes
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Lunarpages Web Hosting - Information & Opportunities
-----------------------------
=> Lunarpages Web Hosting - Announcements
=> Lunarpages Web Hosting - Hosting Plans & Site Information
=> Job Opportunities at Lunarpages Web Hosting
=> Lunarpages Web Hosting - Network Information
=> Lunarpages Web Hosting - Server Information
-----------------------------
Lunarpages Web Hosting - Before Signing Up
-----------------------------
=> Lunarpages Web Hosting Plans - Pre-Sales Questions
-----------------------------
Lunarpages Web Hosting - Online Help Desk
-----------------------------
=> Lunarpages - Webhosting Help
=> Lunarpages - Beginner Assistance
=> Lunarpages - How to's
=> E-mail with your Lunarpages Hosting Plan
=> Lunarpages - CPanel Help
=> Lunarpages - Ecommerce Hosting
=> Lunarpages - FrontPage
=> Lunarpages - DreamWeaver
=> Lunarpages - Message Boards-Forums-Fantastico Scripts
===> Lunarpages - Joomla / Mambo
-----------------------------
Lunarpages Web Hosting - Advanced Assistance
-----------------------------
=> Web Management
=> Lunarpages - Webdesign and HTML
=> Lunarpages - Search Engine Optimization
=> Lunarpages - Animation & Flash
=> Lunarpages - Graphics
=> Lunarpages - Web Hosting, Email & PC Security
=> Lunarpages - Dedicated Web Hosting
=> Lunarpages - Reseller Web Hosting
=> Lunarpages - VPS Hosting
=> Lunarpages - SharePoint Services (Beta)
===> Lunarpages - cPanel & WHM
===> Lunarpages - General
===> Lunarpages - Plesk
===> Lunarpages - Security
===> Lunarpages - Tutorials
===> Lunarpages - Webmin
===> Lunarpages - WHM
-----------------------------
Lunarpages Web Hosting - Coding
-----------------------------
=> Lunarpages - ASP
=> Lunarpages - C++ / PERL / CGI
=> Lunarpages - PHP & MySQL
=> Lunarpages - Java Applets & Javascript
=> Lunarpages - JSP & Servlets
=> Lunarpages - Ruby Hosting
=> Lunarpages - Windows Development & Hosting
-----------------------------
Lunarpages Web Hosting - Entertainment
-----------------------------
=> Lunarpages - Chat & Stuff!
=> Lunarpages - Contests
=> Fun at Lunarpages!!
=> Lunarpages - Online Gaming
-----------------------------
Lunarpages Web Hosting - General
-----------------------------
=> Social Networking
=> Lunarpages Free Web Hosting - Education Program
=> Lunarpages - Affiliate Program
=> Introduce Yourself to the Lunarpages Forum Community!
=> Your Websites & Creations at Lunarpages!
=> Lunarpages Website of the Month
=> Lunarpages - Service and Trade
Loading...