Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

automated daily email of log file

Options
  • 21-02-2008 1:24pm
    #1
    Registered Users Posts: 118 ✭✭


    Hi,

    Just wondering if anyone can help with this. I am looking for a program which can automatically email a log file to my email address. is there a way of doing this with windows scheduler? any other ideas?


    thanks

    adrian


Comments

  • Closed Accounts Posts: 1,444 ✭✭✭Cantab.


    Synkro wrote: »
    Hi,

    Just wondering if anyone can help with this. I am looking for a program which can automatically email a log file to my email address. is there a way of doing this with windows scheduler? any other ideas?


    thanks

    adrian

    2 lines of code on a Unix box.


  • Registered Users Posts: 1,477 ✭✭✭azzeretti


    1 line of code on a Windows box;)

    There are plenty of free command line mailers for windows. You could then create a batch file to run at a certain time with the log file attached e.g psudeo of the 1 line of code in Windows:

    mailer -c smtp_address 25 -h "Log file" -i myfile.txt


Advertisement