I use mail/ssmtp with mail via cron to send the output of some scripts to my email. I use a google email to send them to my main email address. Sometimes the email body will say "This message has no content". Here's an example from cron of a script where the email says this.
smartctl -a...
I have this script which checks for updates on my host system and on my jails:
#!/usr/local/bin/bash
PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin"
# Updaten en rapporteren Ports Tree host system:
portsnap cron update && {
echo -e "Packages te...
I've never needed to use cron before now, so its secrets remain a mystery to me. The handbook and man page appear to say (indirectly!) that '*' can mean either "all" or "not interpreted", and that conflicts are OR'd together. Do I have that right?
For example, to run a job at 0200 on the...
Hi,
I'd like to know if you have a good way of keeping a system completely up to date in a completely automated way.
If my understanding is correct, I can add
42 8 * * * freebsd-update cron
in root's crontab to have the base system (I guess that means the kernel and the programs in /bin)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.