forked from institutoazmina/elasnocongressobot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.sh
executable file
·15 lines (12 loc) · 671 Bytes
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
date >> logs/docker.elasnocongresso.log
python elasnocongresso.py 1>> logs/elasnocongresso.log 2>> logs/elasnocongresso.err.log;
python enviar_tweets.py 1>>logs/enviar_tweets.log 2>>logs/enviar_tweets.err.log;
sleep 10800;
date >> logs/docker.elasnocongresso.log
python elasnocongresso.py 1>> logs/elasnocongresso.log 2>> logs/elasnocongresso.err.log;
python enviar_tweets.py 1>>logs/enviar_tweets.log 2>>logs/enviar_tweets.err.log;
sleep 18000;
date >> logs/docker.elasnocongresso.log
python elasnocongresso.py 1>> logs/elasnocongresso.log 2>> logs/elasnocongresso.err.log;
python enviar_tweets.py 1>>logs/enviar_tweets.log 2>>logs/enviar_tweets.err.log;