From 57a456f53bbc6534701aa3af436dcdafb5785d52 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 29 May 2014 20:21:32 +0300 Subject: [PATCH] scripts/limnoria-botchk-cron: add clear environment in examples. This means that the command to run is `/usr/bin/env -i /path/to/limnoria-botchk-cron`. --- scripts/limnoria-botchk-cron | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/limnoria-botchk-cron b/scripts/limnoria-botchk-cron index 1978db4c3..a9895aac6 100755 --- a/scripts/limnoria-botchk-cron +++ b/scripts/limnoria-botchk-cron @@ -2,8 +2,8 @@ ## This script executes supybot-botchk and sets correct environment. ## Example entries for crontab: -#*/5 * * * * /home/YOURUSERNAME/.local/bin/supybot-botchk-cron -#*/5 * * * * /home/users/YOURUSERNAME/.local/bin/supybot-botchk-cron +#*/5 * * * * /usr/bin/env -i /home/YOURUSERNAME/.local/bin/supybot-botchk-cron +#*/5 * * * * /usr/bin/env -i /home/users/YOURUSERNAME/.local/bin/supybot-botchk-cron ## Making sure that we use UTF-8. export LC_ALL=en_US.utf8