4-easydoneit.sh (321B)
1 # easydoneit 2 # create default database 3 edi version 4 docker run --name xapian -p 8000:80 -v ~/easydoneit_data/tasks:/data -d --restart=always remynoulin/xapian-omega-alp 5 6 # add xapian index update to crontab 7 crontab -l > tmpCron 8 echo '0 5 * * * /home/'$USER'/bin/updateXapianIndex.sh' >> tmpCron 9 crontab tmpCron 10 rm tmpCron