This commit is contained in:
Bob Mottram 2016-05-28 18:45:28 +01:00
parent d841d42925
commit 978959b0cf
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ function refresh_gpg_keys {
if ! grep -q "gpg --refresh-keys" ~/temp_crontab; then
echo "0 */$REFRESH_GPG_KEYS_HOURS * * * $CURR_USER /usr/bin/gpg --refresh-keys > /dev/null" >> ~/temp_crontab
sudo cp ~/temp_crontab /etc/crontab
chown root:root /etc/crontab
sudo chown root:root /etc/crontab
fi
rm ~/temp_crontab
}