-
Notifications
You must be signed in to change notification settings - Fork 5
/
tasks-cron-docker
23 lines (22 loc) · 3.8 KB
/
tasks-cron-docker
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
* * * * * ( sleep 5 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task register >> logs/cron.log 2>&1 )
* * * * * ( sleep 10 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task register >> logs/cron.log 2>&1 )
* * * * * ( sleep 15 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task register >> logs/cron.log 2>&1 )
* * * * * ( sleep 20 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task register >> logs/cron.log 2>&1 )
* * * * * ( sleep 25 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task register >> logs/cron.log 2>&1 )
* * * * * ( sleep 30 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task register >> logs/cron.log 2>&1 )
* * * * * ( sleep 35 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task register >> logs/cron.log 2>&1 )
* * * * * ( sleep 40 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task register >> logs/cron.log 2>&1 )
* * * * * ( sleep 45 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task register >> logs/cron.log 2>&1 )
* * * * * ( sleep 50 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task register >> logs/cron.log 2>&1 )
* * * * * ( sleep 55 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task register >> logs/cron.log 2>&1 )
* * * * * ( sleep 5 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task sync >> logs/cron.log 2>&1 )
* * * * * ( sleep 10 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task sync >> logs/cron.log 2>&1 )
* * * * * ( sleep 15 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task sync >> logs/cron.log 2>&1 )
* * * * * ( sleep 20 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task sync >> logs/cron.log 2>&1 )
* * * * * ( sleep 25 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task sync >> logs/cron.log 2>&1 )
* * * * * ( sleep 30 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task sync >> logs/cron.log 2>&1 )
* * * * * ( sleep 35 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task sync >> logs/cron.log 2>&1 )
* * * * * ( sleep 40 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task sync >> logs/cron.log 2>&1 )
* * * * * ( sleep 45 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task sync >> logs/cron.log 2>&1 )
* * * * * ( sleep 50 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task sync >> logs/cron.log 2>&1 )
* * * * * ( sleep 55 ; cd /home/ubuntu/production/mailx ; export $(cat .env | sed 's/#.*//g' | xargs) ; /usr/local/bin/python manage.py cron_task sync >> logs/cron.log 2>&1 )