From 85cad459fc0c9a7c634f88e1eb90be9456b11500 Mon Sep 17 00:00:00 2001 From: gotbletu Date: Thu, 6 Jun 2013 12:13:53 -0700 Subject: [PATCH] flexget notes --- flexget_crontab.txt | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/flexget_crontab.txt b/flexget_crontab.txt index 2de7443..e27afb8 100644 --- a/flexget_crontab.txt +++ b/flexget_crontab.txt @@ -10,10 +10,20 @@ crontab -e env EDITOR=xdg-open crontab -e -to test if crontab is working to outputting a log file +to test if crontab is working try to outputting a log file exmaple: * * * * * ~/Scripts/timebomb.sh > /tmp/timebomb_error.log 2>&1 +note: one of the most common reasons crontab doesnt work +is because it wants you to put the absolute path to an app/location + +Ex: +transmission-gtk +vs +/usr/bin/transmission-gtk + +# use the which command to figure it out the path +which transmission-gtk @@ -22,7 +32,7 @@ exmaple: ## for crontab # to run flexget without generating log files -@hourly flexget --cron +@hourly /usr/bin/flexget --cron # start transmission-gtk version minimized if it is not already running */30 * * * * export DISPLAY=:0 && if pidof -x /usr/bin/transmission-gtk; then exit; else /usr/bin/transmission-gtk -m; fi &