Commit 8e5b454c authored by Lucas Moura's avatar Lucas Moura

Add crontab to update apprecommender db daily

parent d116d527
#!/bin/sh
set -e
run_apprec_init()
{
runuser -s /bin/sh -c "/usr/bin/apprec --init" apprec
}
run_apprec_train()
{
runuser -s /bin/sh -c "/usr/bin/apprec --train" apprec
}
run_apprec_init > /dev/null
run_apprec_train > /dev/null
......@@ -2,6 +2,7 @@ apprecommender (0.6.4-1) UNRELEASED; urgency=medium
* New upstream release (Closes: #831217)
* Add patch to change database install location
* Add crontab to keep updating apprecommender database daily
-- Lucas Albuquerque Medeiros de Moura <lucas.moura128@gmail.com> Tue, 02 Aug 2016 00:03:50 -0300
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment