Tags » Cron

Backup with rsync

rsync can be used to copy files from one machine to other over network.I use rsync over ssh to take backup of my server files.ssh is configured with public key authentication so it does not ask for password everytime when rsync starts.I scheduled it as cron job so it runs every night.rsync does incremental copy so it saves time and network bandwidth. 141 more words

Linux

how to manage exim

I compiled the list from various sites and also wrote some of my own.

Prefer gist? here is the link
https://gist.github.com/richardjoo/9bd73de71c74a8c777b7

* Print a count of the messages in the queue:

    `exim -bpc`

* How to resend frozen messages in exim4 queue

    `exim -bp | grep frozen | awk '{print $3}' | xargs exim -v -M`

* Print a listing of the messages in the queue (time queued, size, message-id, sender, recipient):

    `exim -bp`

* Information about all the messages on the queue:

    `exim -bp | less`

* Print a summary of messages in the queue (count, volume, oldest, newest, domain, and totals):

    `exim -bp | exiqsumm`

* Print what Exim is doing right now:

    `exiwhat`

* Remove frozen emails

    `exim -bpr | grep frozen | awk '{print $3}' | xargs exim -Mrm`

* Force delivery of one message

    `exim -M email-id`

* display emails with particular email address

    `exiqgrep -i -f (MAIL ADDRESS HERE) | xargs exim -bpr`

* Remove emails with particular email address

    `exiqgrep -i -f email_address_here | xargs exim -bpr | awk {'print $3'} | xargs exim -Mrm`

* How many Frozen mails on the queue

    `exim -bpr | grep frozen | wc -l`

* View the log for the message. 497 more words

Crontab - Quick Reference

Assalamualaikum,

cron is a unix, solaris utility that allows tasks to be automatically run in the background at regular intervals by the cron daemon. These tasks are often termed as cron jobs in unix , solaris. 738 more words

Linux

What does the slash in crontab(5) actually do?

That’s a bit of a stupid question. Of course you know what the slash in crontab(5) does, everyone knows what it does.

I sure know what it does, because I’ve been a UNIX and Linux guy for almost 20 years. 368 more words

UNIX & Linux

Torrenting...like a boss.

Pre-Read! This really only may interest you if you meet the following point(s):

  • You leave your PC on overnight and do not mind about internet usage;
  • 474 more words
Guide

Cron Jobs - Setup, Testing, Awesome-ness.

So I got my Cron Job operational, and I thought it’d be good to do a real quick guide. Because I am an idiot, I think I will label this “ 532 more words

Guide

spamassassin throws errors in amavis cron job

The spamassassin install uses a cron job to do sync and cleanup called amavisd-new-cronjob. This job throws up errors on the Debian 7.

error creating a DNS resolver socket: Network is unreachable at 
/usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm line 235. 141 more words
Life