If you are like me and you are running your Raspberry Pi headless, and don’t want to start up X windows to send a simple email. You are in luck, as this can easily be done from the command line. And it is very easy to setup.
Category Archives: Linux
Mutt with SSMTP
Here is how you set up Mutt without a working sendmail or exim installation. Most linux boxes I work with already have some kind of mail transfer agent installed by default, so I never really had to do this. My cygwin install on the other hand only had a bare bones, minimalistic ssmtp application that …
Send Mail with Gmail and sSMTP
Sometimes we want to enable our servers/desktops to be able to send email without setting up a full featured mail server or configuring postfix to route through Gmail.
Sending Email Alerts Through Cron
Cron is the Linux task scheduler that is responsible for making sure scripts run at their specified times. Cron is often used for things like, log rotation, backup scripts, updating file indexes, and running custom scripts. In the event a task runs into problems or errors Cron generally tries to email the local administrator of …
Automatic updates in Centos
Install yum-cron The package that allows us to do automatic updates via yum is yum-cron, to do this just open a terminal as root and run the command:
Running cron job on linux every 1 hours
How can I run command every 1 hour every day 0 */1 * * * /path/to/mycommand.sh