mirror of
https://github.com/simon987/od-database.git
synced 2025-04-10 14:06:45 +00:00
Change max assign time
This commit is contained in:
parent
bfb59c5336
commit
6843900ec6
1
jenkins/Jenkinsfile
vendored
1
jenkins/Jenkinsfile
vendored
@ -39,6 +39,7 @@ pipeline {
|
||||
sshPut remote: remote, from: 'uwsgi.py', into: 'od-database'
|
||||
sshPut remote: remote, from: 'views.py', into: 'od-database'
|
||||
sshPut remote: remote, from: 'config.py', into: 'od-database'
|
||||
sshPut remote: remote, from: 'do_recrawl.py', into: 'od-database'
|
||||
sshPut remote: remote, from: 'od-database.ini', into: 'od-database'
|
||||
sshPut remote: remote, from: 'jenkins/deploy.sh', into: 'od-database'
|
||||
sshCommand remote: remote, command: 'chmod +x od-database/deploy.sh && ./od-database/deploy.sh'
|
||||
|
@ -18,7 +18,7 @@ screen -list
|
||||
|
||||
echo "Installing crontab"
|
||||
absolute_dir=$(cd ${ODDBROOT} && pwd)
|
||||
command="cd \"${absolute_dir}\" && source env/bin/activate && python do_recrawl.py >> recrawl_logs.txt"
|
||||
command="cd '${absolute_dir}' && source env/bin/activate && python do_recrawl.py >> recrawl_logs.txt"
|
||||
job="*/10 * * * * \"$command\""
|
||||
echo "$job"
|
||||
cat <(fgrep -i -v \""$command"\" <(crontab -l)) <(echo "$job") | crontab -
|
||||
|
Loading…
x
Reference in New Issue
Block a user