- A) Should I enable cron in Boot-Up Manager or what's the correct way to toggle cron? I'm surprised to find it disabled, if this is what's responsible for activating cron jobs. Maybe I turned it off at some point, but I can't imagine why. But, I only recently installed Boot-Up Manager and since B.U.M. isn't installed by default and 'cron' is not in Startup Applications or /etc/xdg/autostart or /home/user/.config/autostart, therefore...
B) How do I know cron is running? The tasks might not do anything that I can detect, or at least I don't see anything in the system monitor.
C) Which default cron tasks do I really need and might I eliminate some of them to increase performance? I don't quite understand why ones like apt, aptitude, dpkg, ntp, and passwd are necessary, and I don't remember what was here by default. I'm not really doing anything fancy with cron so I'm a little surprised how many files are in there because it seems like at least a year ago there weren't so many.
D) I read the crontab man page and am totally lost when it refers to the 'current crontab'. Can you explain more vividly how crontab is structured?
E)asks for me to select from a list of editors that I don't know how to use, which begs the question: is this command one of those dated ones or is there a good reason for not using a lay-person-friendly editor like pluma?Code: Select all
crontab -e
Code: Select all
# /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 --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
Code: Select all
# /etc/anacrontab: configuration file for anacron
# See anacron(8) and anacrontab(5) for details.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
HOME=/root
LOGNAME=root
# These replace cron's entries
1 5 cron.daily run-parts --report /etc/cron.daily
7 10 cron.weekly run-parts --report /etc/cron.weekly
@monthly 15 cron.monthly run-parts --report /etc/cron.monthly
- 0anacron
apache2
apt
aptitude
bsdmainutils
chkrootkit*
cracklib-runtime
dpkg
logrotate
man-db
ntp
passwd
upstart
rkhunter*
tripwire*
Code: Select all
crontab -l
Thank you very much!no crontab for user