How to send "mailto" from cron job (/var/cron/tabs/*) that details outcome?

Back on Nov 27, Charles Minow told me how to generate an email summarizing the results of the periodic daily/weekly/monthly jobs (by the way, Charles, thanx! Works great!).
So, now I'm wondering, for cron jobs located in /var/cron/tabs/, how would one similarly generate an email to be sent to an email address of one's choice, that detailed the outcome of each such cron job?
Thanx in advance!

There are several ways of doing this.
By default the output of any cron job would be mailed to the user's local mail account, so one option would be to setup mail forwarding from the system to the user's regular mail account.
The other option is to simply pipe the output of the cron task to mail, like:
1 2 * * * /path/to/your/task | mail [email protected]
Now when the specified task runs, its output will be passed to mail and sent to the specified address.

Similar Messages

  • How to send messages from a JOB to OS task and back.

    I have a job (PL/SQL code) in database and a task in OS (C code). The problem is how to
    organize the interchange of messages between these two tasks. Are there any signals,
    semaphores or other objects i can use. My only solution is to do it via OS file. Are there any other .. ?
    Thanks.

    Try dbms_pipes
    null

  • How to send data from internal table to the shared folder in ABAP

    Hi experts,
             My requirement is to transfer data from a file to shared folder. i just did reading data from a file to a internal table. Now i want to send this internal table data into a shared folder which is  "
    xxx\y\z....".
    I do not have any idea on how to send data from internal table to the shared folder path.
    can anybody please help me out how to do this?
    Thanks & Regards
    Sireesha.

    Where that folder is located, its on presentation server i.e. desktop or application server.
    If its on presentation server, use FM GUI_UPLOAD.
    If its on application server, then use DATASET functions. Have a look at below link.
    [File Handling in ABAP|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/frameset.htm]
    I hope it helps.
    Thanks,
    Vibha
    Please mark all the useful answers

  • I have iphone 3gs, how to send song from my computer?

    i have iphone 3gs,
    how to send song from my computer in iphone

    You sync it or use iTunes Match.

  • IDOC :: how to send data from Custom Infotype in SAP HR to third party

    Hi,
    I have created one custom Infotype by number 9020. How to send data from this infotype to third party system and also change pointers need to trigger for this infotype.
    Please help me in doing it.
    I am using one Custom Message type ZTALENT and Custom Idoc Type ZTALENT.
                                                                                    ZTALENT                        Talent Management                                                                               
    5  E1PLOGI                        Header for an HR Object (Master Data or Organizational Data)                                                                               
    5  E1PITYP                        HR: Transported Infotypes and Subtypes for an Object                                                                               
    ZPUSER                         User base Data File                                          
                    ZPERSON                        Personal Information File Segment                            
                    ZPOST                          Position File                                                
                    ZOPE                           Overall Performance                                          
                    ZPWORK                         Outside Work Experience                                      
                    ZPEDUC                         Education Details of Employee                                
                    E1P0000                        HR: HR Master Record Infotype 0000 (Actions)                 
                    E1P0001                        HR: HR Master Record Infotype 0001 (Org. Assignment)         
                    E1P0002                        HR: HR Master Record Infotype 0002 (Personal Data)           
                    E1P0016                        HR Master Record: Infotype 0016 (Contract Elements)          
                    E1P0022                        HR Master Record: Infotype 0022 (Education)                  
                    E1P0023                        HR Master Record: Infotype 0023 (Other/Previous Employers)   
                    E1P0041                        HR Master Record: Infotype 0041 (Date Specifications)        
                    E1P0105                        HR: HR Master Record Infotype 0105 (Communications)       
                   ZE1P9020
                    ZPLANG                         Language Details                                             
                    ZACTION                        Actions Changes            
    Regards,
    Krishna

    Hello Shankar,
             Technically TEMSE files are read by calling the following 3 function modules in sequence,
                  1) RSTS_OPEN_RLC or RP_TS_OPEN: open the temse object
                  2) RSTS_READ : read the object
                  3) RSTS_CLOSE: close the object
    Regards,
    Rajesh

  • How to send SMS from a servlet  to a mobile phone

    How to send SMS from a servlet to a mobile phone what are the things i have to do.......
    very urgent..

    Hi, please read this:
    http://forum.java.sun.com/thread.jspa?threadID=345296&messageID=2608297
    Found on the very forum with the search function ;)

  • How to send music from a ipodtouch to another with the bluetooth??

    how to send music from a ipodtouch to another with the bluetooth??

    There is no way you can do that. You should either transfer the music to the phone and play it from there, or you should connect the speaker to the computer itself (provided it is Bluetooth speaker).
    Ericsson T10i -> Nokia 7110 -> Siemens C45, C55, M55, M65 -> Nokia 6131, N73, N82 -> HTC Wildfire, Desire HD -> Nokia Lumia 800 -> HTC Desire X -> Lumia 820 -> Sony Xperia SP -> Lumia 925 + Sennheiser CX 500
    If I've helped, use the Kudos button to thank

  • How to send IDocs from a non-SAP system to a SAP system

    Hi everyone i am new to SAP R/3 System.
    Currently i am required to send IDocs from a non-SAP system to a SAP R/3 System.
    There is a guide on Cost-Effective and Quick Communication between SAP and 3rd Party Systems using IDOC HTTP XML Interface. But its from a SAP system to a non-SAP system and i am able to do that.
    Is there any step by step guide where they teaches you how to send IDocs from a non-SAP system to SAP system via similar method?
    Thank You!

    Hi,
    I hope this link may help you......
    http://publib.boulder.ibm.com/infocenter/iisinfsv/v8r1/index.jsp?topic=/com.ibm.swg.im.iis.ds.entpak.sapr3.use.doc/topics/c_pack_r3_Introduction.html

  • Can't edit email saved in draft or figure out how to send it from there

    I wrote up an email yesterday and saved it in the drafts folder since I didn't want it to go out until today. When I go in to drafts in Mail I can see the message as I left it but I can't figure out how to send it from there. I also tried to make a quick change and it wouldn't let me do that either. There is a jpeg attachment in the email but I don't see why that would prevent me from editing the message. Any help would be appreciated.

    That's what I thought I was supposed to do but double-clicking wouldn't do anything. I just solved the problem somehow by moving the message from the drafts folder to the sent folder and back to drafts again and then the double-click worked and I was able to send it. Not sure what the problem was but thanks for the quick reply.

  • How to send emails from HANA SQL Console

    Hi,
    Please guide how  to send mail from HANA Studio SQL Console.
    Is there any standard procedure in Hana Studio to send Mail( e.g. in MS SQL  "sp_send_dbmail" Procedure)

    Hi Preethi,
    Please go through the attached link:
    How to send emails from HANA
    Regards,
    Krishna

  • How to send emails from of pdf's generated by oracle reports

    I have several pdf documents , I want to email those pdf's . Please let me know how to send emails from oracle reports .
    Thanks,
    Previn

    I have integrated Oracle Reports with Oracle Portal and used the scheduling feature via portlets. We have reports that run every monday morning for management. For more info go to:
    http://otn.oracle.com/products/reports/htdocs/getstart/demonstrations/index.html
    OR
    I think if you set destype=mail, desformat=PDF, and desname=[email protected] that should also do the trick.
    Just be sure that you have put your mail server's IP address in the rep_<machine_name>.conf file located in your <oracle_home>/reports/conf directory. If this is not set up, the mail feature won't work.
    Martin

  • How to send songs from iphone through whatsapp

    I don't know how to send songs from iphone 5 through whatsapp?
    can someone help please.

    you don't not a feature on iphones.
    songs are meant to be sync with itunes.

  • How to send sms from iPad via iphone

    How to send sms from iPad via iphone?

    You don't easily.
    The pad, with I message turned on, will send text like messages to any other ios5 user that has I message turned on.
    The pad is not a phone, and does not have the radio to send 'real' SMS messages, which use the phone channel.
    There are a few apps in the store that will convert messages to SMS, for use with non apple folks.  Check out the app store.  Search SMS.

  • How to Send SMS from Oracle Database to Mobile

    Hi All,
    I need urgent help in how to send sms from oracle database to mobile
    thanks and best regards

    you can use smslib..... . i have made a program with this. its working fine with oracle database.
    see the links here ...
    http://halimdba.blogspot.com/2011/08/send-sms-from-oracle-database-with.html
    by the way, how you can say "urgent help" ?
    regards
    Halim

  • How to send sms from oracle application to cell phone

    Hi all
    please send me in how to send sms from oracle application to cell phone. Is there any way to solve this task. if so please suggest me.

    Please see old threads for similar discussion -- http://forums.oracle.com/forums/search.jspa?threadID=&q=SMS&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

Maybe you are looking for

  • Easy way to add a calendar???

    with events I can link to other pages I have made???

  • Release strategy: User should release only with his highest release code

    Hello, Because of personel absences we want to configure the release strategy so that: User A or user B releases in the normal case the first level of a PO (with release code 01). User C (Manager) releases after release code 01 with release code 02.

  • Dynamic Filters possible ?

    Hi there, My Boss wants to Switch to Power View from Reporting Services, but he wants to know if everything you could do in SSRS is available in Power View first. One of the things i noticed immediately is that i couldn't define the filter values for

  • Exporting & Importing Contexts in ODI 10g

    Hi, I am using ODI 10g. I want to export Contexts from topology manager from my ODI test environment and import those contexts in ODI production environment. My requirement is that I want to export & import the contexts using some scripts and not man

  • Shared Object quirk

    Hi all, I made a slot machine. It's simple enough: hit the spin button, the reel movieclips play, and a random number is created to decide what the winner is. People will win hats, shirts, buffet vouchers, etc., and I have to limit the quantities for