mirror of
https://github.com/simon987/od-database.git
synced 2025-12-16 08:09:04 +00:00
Change max assign time
This commit is contained in:
@@ -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 -
|
||||
|
||||
Reference in New Issue
Block a user