Re: Help with Crontab script?



tar cvfz myfile.tar.gz mydir; mutt -s "My Tar File" -a myfile.tar.gz myemail@xxxxxxxxx


On 2007-10-30, robert <robertbabula@xxxxxxxxx> wrote:
Hello, I'm rather new to linux and was wondering if someone could
assist me in writing a crontab?

I want to tar a file daily and send it to an email address.

I think I can figure out how to write a crontab to tar the file daily
but how do I write one to email it as an attachment daily? I haven't
quite figured out email in linux yet.

Thanks for any help.

.



Relevant Pages

  • Re: Help with Crontab script?
    ... I want to tar a file daily and send it to an email address. ... I think I can figure out how to write a crontab to tar the file daily ... The simplest way to send an email with an attachment from a script is to use "mutt". ... If you don't want a text body, you still need the echo: ...
    (comp.os.linux.misc)
  • Help with Crontab script?
    ... I'm rather new to linux and was wondering if someone could ... assist me in writing a crontab? ... I want to tar a file daily and send it to an email address. ... I think I can figure out how to write a crontab to tar the file daily ...
    (comp.os.linux.misc)
  • Re: [opensuse] Backup scheduling
    ... add my user account to a specific group in order to be able to do that? ... If you run crontab -e as a normal user, ... and just schedule the backups with tar using crontab from the root ...
    (SuSE)
  • Example of tar incremental backup?
    ... I've set a crontab to successfully create a gziped tarball of the /home ... of using both a target file name as to where ... the tar is supposed to write to, and the name of the backup file to ...
    (comp.os.linux.misc)
  • Re: [opensuse] Split command to burn DVD+R (file size)
    ... multi-volume tar to work in the same way as it would with a tape device ... DVD media as read write filestore but I have never suceeded with my ... Packet writing would be really nice, but again not all hardware has ... I do get an I/O error on retrieving data that looks like it is probably ...
    (SuSE)