Personal tools
You are here: Home Solution Areas Application MyMeeting Acctune Example of mymeeting cronjob to send out E-Mail

Example of mymeeting cronjob to send out E-Mail

by abdullah last modified Jul 15, 2009 02:41 PM

This is an example of how to set up cron to send out MyMeeting email.

This is an example of the lines needed to add to cron so that it would send out MyMeeting e-mails.

This first one will generate reminders about meetings to the users. It would generate the e-mails required in the notification table but would not send out the emails immediately. The example given will generate the reminders everyday at 7 am.

0 7 * * * /var/www/html/mymeeting/cake/console/cake -app /var/www/html/mymeeting/app cron reminders  > /dev/null 2>&1

This second command will actually send out the e-mails created by MyMeeting. The MyMeeting server has to be pre-configured to be able to send out e-mails. The example given will send out e-mail every minute.

*/1 * * * * /var/www/html/mymeeting/cake/console/cake -app /var/www/html/mymeeting/app cron emails  > /dev/null 2>&1

In both the command, the option 'app' has to point to the application directory of MyMeeting.

Document Actions