SweetCron Quick Install on OSX

Recently heard about SweetCron on Bits und So. Here’s my really quick install guide for OSX:

  1. Get MySQL and install it. By default, a user root with no password exists.
  2. Start the MySQL daemon using the PrefPane
  3. Enable Web Sharing in the Sharing Tab of System Preferences
  4. Enable PHP by editing /etc/apache2/httpd.conf, look for the line which says LoadModule php* and remove the comment sign. Also set AllowOverride for the directory you want to put SweetCron in to All. Note: I had problems with putting it into ~Sites, so you might want to use /Library/Documents/WebServer for it. Restart your webserver using sudo apachectl restart.
  5. You have to add a database for SweetCron to your MySQL installation. For n00bs, the easiest way is to get phpMyAdmin and install it somewhere. Follow the documentation for that, but remember to copy /etc/php.ini.default to /etc/php.ini and put /tmp/mysql.sock in for mysqli.socket. Also use socket as connection type in the phpMyAdmin administration wizard. Do not forget to restart your webserver using sudo apachectl restart after changing the php.ini. In phpMyAdmin itself, you can easily set passwords, add accounts and create a database.
  6. Configure SweetCron as stated in the documentation. In database.php you only need to put in the user and database you just created using phpMyAdmin.
  7. Visit SweetCron in your browser to configure your stuff and enjoy.
  8. Advertisements

0 Responses to “SweetCron Quick Install on OSX”

  1. Leave a Comment

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

neonichu's Profile Page

%d bloggers like this: