Results 1 to 2 of 2

Thread: how to write cron job

  1. #1

    how to write cron job

    i want to write cron job for back the mails stored in /var/mail/username , thats for 100 users at time.

    can anybody give me detail steps for it

    thank you



  2. #2
    You don't really write a cron job. You would write a script, and then have cron schedule it.

    Here is a sample script for backing up mailbox(es).

    You can read the Linux Shell Scripting Tutorial and then modify it to suit your needs.

    When you are satisfied, you can use cron to schedule it.
    My crime is that of curiosity. My crime is that of judging people by what they say and think, not what they look like. My crime is that of outsmarting you, something that you will never forgive.

Similar Threads

  1. write simultaneously
    By svar in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 10-08-2011, 06:42 AM
  2. KDE Issue: root isn't able to write anything
    By honey bee in forum Linux - General Topics
    Replies: 4
    Last Post: 09-01-2007, 06:02 AM
  3. Can't get write access to Win partition
    By mrkeef in forum Windows - General Topics
    Replies: 1
    Last Post: 12-23-2004, 06:10 AM
  4. Anyone speak/write Latin?
    By Blaqb0x in forum General Chat
    Replies: 6
    Last Post: 02-27-2004, 06:40 PM
  5. How to write a pet
    By mcdougrs in forum Linux - General Topics
    Replies: 3
    Last Post: 01-09-2003, 04:50 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts