Skip to content

Instantly share code, notes, and snippets.

@SchumacherFM
SchumacherFM / cron.sh
Created August 18, 2014 00:06
Magento cron.sh file for OSX
#!/bin/sh
# location of the php binary
if [ ! "$1" = "" ] ; then
CRONSCRIPT=$1
else
CRONSCRIPT=cron.php
fi
MODE=""
if [ ! "$2" = "" ] ; then