Browse Source

install updates, mail work.

Nathaniel van Diepen 10 years ago
parent
commit
bcec1269cf
2 changed files with 4 additions and 0 deletions
  1. 3 0
      api.php
  2. 1 0
      install/example.cron

+ 3 - 0
api.php

@@ -461,6 +461,9 @@
 								}
 								retj($ret);
 							break;
+							case 'mailqueue':
+								die();
+							break;
 							default:
 								retj(array(
 									'error'=>'Invalid action.'

+ 1 - 0
install/example.cron

@@ -0,0 +1 @@
+*/5 * * * * wget -q http://your.url.here/api.php?type=action&id=mailqueue > /dev/null 2>&1