Home
Developer Blog
Ajax effects
CSS examples
Freelance jobs
Hot IT Jobs
Hot scripts
Code samples
Web hosting directory
Lotus Notes FAQ
See the new scripts recently added to Dynamic Drive.
Click here
.
Original, practical
CSS codes and examples
such as CSS menus for your site.
Search code samples
Keyword
All Categories
ASP
CSS
Dhtml
Html
Javascript
PHP
Code Samples
ASP
CSS
Dhtml
Html
Javascript
PHP
LOGIN HERE
Username
Password
Signup Now
Forgot Password
Verify Signup
PHP >> General
Can I use php with cron on unix systems?
Visitor Ratings (0) :
Description
yes that's possible, how you do it depends a little on your installation.
Code
Select All
1. If you have php installed as CGI on your system you can ex. simply do: 0 10 * * * /path/to/php /path/to/script > /dev/null 2. If you dont have php installed as CGI you can use a unix console program for fetching URLs, we reccommend lynx or wget. Example of using lynx: 0 10 * * * lynx -dump http://fsck.dk/script.php > /dev/null Example of using wget: 0 10 * * * wget http://fsck.dk/script.php > /dev/null
Rate this Resource
0
1
2
3
4
5
6
7
8
9
10