Skip to content

Commit b9f6a66

Browse files
author
Marco MOSCARDINI
committed
cron config
1 parent 43a4c2c commit b9f6a66

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

etc/cron.d/backend

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
HOME=/var/www/html
2+
LANG=nb_NO.UTF-8
3+
LC_ALL=nb_NO.UTF-8
4+
5+
# Each task to run has to be defined through a single line
6+
# indicating with different fields when the task will be run
7+
# and what command to run for the task
8+
#
9+
# To define the time you can provide concrete values for
10+
# minute (m), hour (h), day of month (dom), month (mon),
11+
# and day of week (dow) or use '*' in these fields (for 'any').
12+
#
13+
# Notice that tasks will be started based on the cron's system
14+
# daemon's notion of time and timezones.
15+
#
16+
# Output of the crontab jobs (including errors) is sent through
17+
# email to the user the crontab file belongs to (unless redirected).
18+
#
19+
# For example, you can run a backup of all your user accounts
20+
# at 5 a.m every week with:
21+
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
22+
#
23+
# For more information see the manual pages of crontab(5) and cron(8)
24+
#
25+
# m h dom mon dow command
26+
27+
# 0 0 * * * root test ! -f $HOME/deploying.lock && /usr/local/bin/php $HOME/bin/console app:cron:delete-expired-refresh-tokens > /proc/1/fd/1 2>/proc/1/fd/2
28+
# 0 3 * * * root test ! -f $HOME/deploying.lock && /usr/local/bin/php $HOME/bin/console app:cron:clean-volatile-streams > /proc/1/fd/1 2>/proc/1/fd/2
29+
# 0 0 * * * root test ! -f $HOME/deploying.lock && /usr/local/bin/php $HOME/bin/console app:cron:delete-accounts > /proc/1/fd/1 2>/proc/1/fd/2
30+
# 0 * * * * root test ! -f $HOME/deploying.lock && /usr/local/bin/php $HOME/bin/console app:cron:set-chapelets-as-over > /proc/1/fd/1 2>/proc/1/fd/2
31+
# 0 3 * * * root test ! -f $HOME/deploying.lock && /usr/local/bin/php $HOME/bin/console app:cron:update-chapelets-activity-score > /proc/1/fd/1 2>/proc/1/fd/2
32+
# 0 6 * * * root test ! -f $HOME/deploying.lock && /usr/local/bin/php $HOME/bin/console app:cron:send-onboarding-push-notifications > /proc/1/fd/1 2>/proc/1/fd/2
33+
# 0 8 * * * root test ! -f $HOME/deploying.lock && /usr/local/bin/php $HOME/bin/console app:cron:inactivity > /proc/1/fd/1 2>/proc/1/fd/2
34+
# * * * * * root test ! -f $HOME/deploying.lock && /usr/local/bin/php $HOME/bin/console app:cron:send-announcements > /proc/1/fd/1 2>/proc/1/fd/2
35+
# * * * * * root test ! -f $HOME/deploying.lock && /usr/local/bin/php $HOME/bin/console app:cron:send-scheduled-push-notifications > /proc/1/fd/1 2>/proc/1/fd/2
36+
# 0 5 * * * root test ! -f $HOME/deploying.lock && /usr/local/bin/php $HOME/bin/console app:cron:chapelet:defragmenter > /proc/1/fd/1 2>/proc/1/fd/2
37+
# 0 18 * * * root test ! -f $HOME/deploying.lock && /usr/local/bin/php $HOME/bin/console app:cron:message:send-digest > /proc/1/fd/1 2>/proc/1/fd/2
38+
# 0 * * * * root test ! -f $HOME/deploying.lock && /usr/bin/php $HOME/bin/console app:cron:import-adjust-events > /proc/1/fd/1 2>/proc/1/fd/2
39+
# 0 0 * * * root /usr/sbin/logrotate -v -d > /proc/1/fd/1 2>/proc/1/fd/2

0 commit comments

Comments
 (0)