[Server-devel] /etc/crontab & other regularly scheduled jobs within XSCE/IIAB
Adam Holt
holt at laptop.org
Tue Feb 14 14:37:41 EST 2017
George & All,
How can a community deployment monitor which all cron-like jobs are running
hourly/daily/etc on its server?
e.g. Thanks to George's branch release-6.2 work @
https://github.com/georgejhunt/xsce/commit/2a62885158a868bb9170e6121f822d635b5e9eda
(also at
https://github.com/XSCE/xsce/commit/2a62885158a868bb9170e6121f822d635b5e9eda
) kiwix-serve should now be much more reliable, with an hourly restart, as
should very soon be announced in 6.2's Release Notes!
But how can a community deployment monitor all OpenVPN-and-similar
hourly-like job, for those Beta-and-similar implementers wanting to
understand their own system? e.g. I do not see an OpenVPN cron job here:
root at Internet-in-a-Box:~# more /etc/crontab
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts
--repor
t /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts
--repor
t /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts
--repor
t /etc/cron.monthly )
#
15 * * * * root /bin/systemctl restart kiwix-serve.service
Nor do I see it OpenVPN cron job(s) below on this RPi3 running XSCE 6.2
Release Candidate:
root at Internet-in-a-Box:/etc# ls cron*
crontab
cron.d:
awstats munin munin-node php5
cron.daily:
apache2 aptitude cracklib-runtime etckeeper logrotate mlocate
passwd
apt bsdmainutils dpkg exim4-base man-db ntp
samba
cron.hourly:
fake-hwclock
cron.monthly:
cron.weekly:
man-db
Or if OpenVPN uses another mechanism to hold & relaunch its connection
(finely tuned, it works quite well!) where is that "systemctl restart
openvpn at xscenet" or equivalent regularly run from?
With what exact hourly-or-similar schedule, beginning how many minutes
after each hour?
Muchas Gracias!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/server-devel/attachments/20170214/8ff4a3a0/attachment.html>
More information about the Server-devel
mailing list