Browse code

Add daily cronjob task

Benjamin Roth authored on18/07/2016 11:04:31
Showing1 changed files
... ...
@@ -24,4 +24,6 @@ $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['contao']['news_submitted']
24 24
     'news_topics_html', // The titles of all new news
25 25
     'news_topics' // The titles of all new news
26 26
   )
27
-);
28 27
\ No newline at end of file
28
+);
29
+
30
+$GLOBALS['TL_CRON']['daily'][]    = array('eSM_nc_news\\NewsNotifications', 'sendNotifications');
29 31
\ No newline at end of file