Posted by: fidel in mac, tags: cron, cronnix, curl, mac, php
There are several ways to combine php-scripts with cron.
Today i realized that using CURL is an option to.
So basicly you could just do the following in commandline / Teminal.app:
curl http://your.server.ip.or.name/your-php-script-file.php
If that works for you, just continue with a manual cron-entry or using cronnix to add the cron-job
No Comments »
If i ever need a quick-deployed (L)AMP-env on my mac i am using MAMP.
Some days ago i realized there is another quick-solution called: xampp
Project quote:
XAMPP for Mac OS X is the simplest, most practical and most complete webserver solution for Mac OS X. The distribution includes an Apache 2 web server, integrated with the latest builds of MySQL, PHP (both 4 and 5) and Perl. It comes as a Mac OS X Installer package which contains all the necessary files and requires no dependencies.
If you are an experienced web developer or a Mac enthusiast who needs to run a webserver, create dynamic webpages or use databases, this is your lucky day!
This version is for Mac OS X 10.4 (Intel) and higher.
No Comments »