Monday, April 19, 2010

Linux list and delete fun

To display:
find . -name "cron.php.*"

To delete:
find . -name "cron.php.*" | xargs rm -rf

Yay!

Sunday, April 18, 2010

What is with all these "smarty" errors in my CiviCRM installation?

http://sca-roadside-local:8888/civicrm/admin/uf/group?action=add&reset=1

user error: Smarty error: [in CRM/UF/Form/Group.hlp line 91]: syntax error: mismatched tag {/htxt}. expected {/ts} (opened line 90). (Smarty_Compiler.class.php, line 2338) in /Library/WebServer/Sites/MAMP/sca-roadside.org/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1093.

etc., etc., etc.!

Running CRON jobs on a Mac

Finding this helpful:

http://www.alvinpoh.com/how-to-add-cron-or-cron-like-jobs-to-mac-with-mamp-or-otherwise/

however, I am confused. You launch the job cycle like this:
sudo launchctl load /Library/LaunchDaemons/yourfile.cron.plist

But how do you UN-launch it, say, to restart?