Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2018 19:20:00 -0500
From:      Ernie Luzar <luzar722@gmail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   cron & fetchmail
Message-ID:  <5C26BDB0.5020008@gmail.com>

next in thread | raw e-mail | index | archive | help
#
#minute hour    mday    month   wday    who     command
#
# Deactivate Fetchmail during off hours
1	20	*	*	*	root	service fetchmail stop
#
# Activate Fetchmail during office hours
1	7	*	*	*	root	service fetchmail start


Added the above to /etc/corntab file. It works as I wanted.

Is this the correct method of achieving this?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5C26BDB0.5020008>