Closed GoogleCodeExporter closed 9 years ago
this is my working script, just modify it, make sure folder exists !
CRONTABS=/etc/storage/cron/crontabs/root
if [ ! -f $CRONTABS ] ; then
echo "0 0 * * * /etc/storage/cron/unbound-root-update.sh" > $CRONTABS
fi
[ -n "`pidof crond`" ] && killall -q crond
crond
Original comment by leandro.ong@gmail.com
on 11 Jul 2015 at 9:01
Is this right? Flexget is not starting, and nothing is written to syslog.
Can you help me?
CRONTABS=/etc/storage/cron/crontabs/root
if [ ! -f $CRONTABS ] ; then
echo "*/10 * * * * /opt/bin/flexget" > $CRONTABS
fi
[ -n "`pidof crond`" ] && killall -q crond
crond
Original comment by J.lyt...@gmail.com
on 12 Jul 2015 at 3:09
Please read this article:
https://code.google.com/p/rt-n56u/wiki/CommonTips#Using_the_built-in_scheduler_(
crond)
Original comment by Dr.Sydorenko.O
on 12 Jul 2015 at 5:12
I did read it, but it makes more sense the 5 time i read it.
Do i need more then:
[ -z "`pidof crond`" ] && /usr/sbin/crond
In my started_script.sh if i add "*/10 * * * * /opt/bin/flexget" in crontabs?
It does work now, and the cron task i still present after a rebot, so that is
great.
Original comment by J.lyt...@gmail.com
on 12 Jul 2015 at 6:28
How do i change status to fixed/closed?
Original comment by J.lyt...@gmail.com
on 13 Jul 2015 at 2:35
Original comment by Dr.Sydorenko.O
on 17 Jul 2015 at 3:52
Original issue reported on code.google.com by
J.lyt...@gmail.com
on 11 Jul 2015 at 9:17