-
Notifications
You must be signed in to change notification settings - Fork 8
/
crontab.php
executable file
·44 lines (41 loc) · 1.33 KB
/
crontab.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
require_once "scripts/cmdline.php";
// can also define crontab.php in modules, with same format as this file
return array(
array(
'interval' => Config::get('task:backup_interval'), // minutes
'cmd' => "php scripts/backup.php"
),
array(
'interval' => Config::get('task:notify_stuck_mail_interval'),
'cmd' => "php scripts/notify_stuck_mail.php"
),
array(
'interval' => Config::get('task:backup_s3_interval'),
'cmd' => "php scripts/backup_s3.php"
),
array(
'interval' => Config::get('task:send_waiting_sms_interval'),
'cmd' => "php scripts/send_waiting_sms.php"
),
array(
'interval' => Config::get('task:check_sms_app_interval'),
'cmd' => "php scripts/check_sms_app.php"
),
array(
'interval' => Config::get('task:check_system_interval'),
'cmd' => "php scripts/check_system.php"
),
array(
'interval' => Config::get('task:notify_status_interval'),
'cmd' => "php scripts/notify_status.php"
),
array(
'interval' => Config::get('task:scheduled_events_interval'),
'cmd' => "php scripts/scheduled_events.php"
),
array(
'interval' => Config::get('task:check_external_feeds_interval'),
'cmd' => "php scripts/check_external_feeds.php"
)
);