Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

About this user

urban sheep http://www.livejournal.com/users/urbansheep/

« Newer Snippets
Older Snippets »
1 total  XML / RSS feed 

Setting up a php-script to run as a cron-job

To run a php-script as a regular job, you need just point to the php-cli instance with the path to your script:

/usr/local/bin/php /home/username/public_html/scripts/your_script.php


Thanks to Jason for original tip @ http://forum.textdrive.com/viewtopic.php?id=863
« Newer Snippets
Older Snippets »
1 total  XML / RSS feed