[SOLVED] crontab wont email job output

Hi archers
I have the following in my users  crontab
MAILTO=[email protected]
00 20 * * * cd /home/user/Scripts ; ./Fetch-Updates
The job runs everyday at 20:00 and the job completes successfully every time. However, the job output is always mailed to user instead of the user at the external domain. The system is configured with exim as my smtp daemon and will email externally from the command line with mail so I cant see anything wrong with the configuration.
Any ideas?
Cheers
GregW
Last edited by GregW (2010-02-24 13:21:06)

[redacted]
edit1: not sure what mail system dcron (cron) uses as default (and it may be a config option) but if it's using something designed only for internal system mails then you've got some more work to do.  maybe look into fcron, i know you can configure an smtp program (ssmtp or msmtp) and set fcron to use it for mails (you can probably do that for dcron too though), then you'd be good to go.
either way, good luck
edit2 i see you've found some info... try my edit1 suggestion, fcron ftw!
Last edited by brisbin33 (2009-04-28 20:27:22)

Similar Messages

  • Job Output in email as attachment

    hi,
    I'm currently using Hyperion 9.3.1 to create a Job Scheduling for a report. The report output should be automatically send an email as schedule with the report result attached to the email.
    The report result is not attached to the email. Anyone can advise what might I have miss out when I setup the job?
    Thanks,
    lieming

    i have the same problem, any suggestion please?
    this is the message i got
    "The following job output types were specified for delivery, but not generated by the job: pdf "

  • Email notification for GRID job output

    Is it possible to get the job output in the email notification? I can currently get the job status but not the output.

    it may be bit tricky to include in your email notifications, but its possible to trace back to GRID JOB output.
    1. Get job JOB execution ID
    2. Get Latest output_id from job execution ID.
    3. You can do a select from
    SELECT output FROM MGMT_JOB_OUTPUT WHERE output_id=&OUTPUT_ID
    its explained in metalink note
    Note 300690.1 - Troubleshooting Script for Problematic Job Output in EM 10g Grid Control

  • Reg emailing the output of a concurrent program as an attachment

    Hi,
    Our requirement is to email the output of a concurrent program?(SQL*PLUS Report Output) as an attachment to the supplied Email Id, without using seperate Shell Script.
    We have configured a printer and passed the Printer Driver argument as
    uuencode $PROFILES$.FILENAME Budget_Report.csv | /bin/mailx -"Cisco AS Budget Report" $Email_id
    The Problem is we are passing the Email address directly to the command.Can't we use the Parameter value to that command?
    And also a junk character 'end gets displayed in the mail body.
    Sometimes the concurrent Program ends with warning message as
    APP-FND-00500 : AFPPRN received a return code of failure from routine FDUPRN.
    An error occured while AOL tried to spawn the print process.
    Please suggest some ways on getting proper output?
    Thanks.

    Hi,
    Email address can be Profile Option - create a new profile option, set value and reference like the $PROFILES$.FILENAME.
    For logging pipe standard out and error to a logfile. Note I haven't tested the command below, just to give you an idea. Would be better to create a shell script then you can change without having to go to the Printer Drivers and bounce Conc Mgr.
    Ie. if you profile option is XX_EMAIL_ADDRESS then
    uuencode $PROFILES$.FILENAME Budget_Report.csv | /bin/mailx -"Cisco AS Budget Report" $PROFILES$.FILENAME >/mypath/myfile 2>&1
    With regards to the failure, if your uuencode or mailx returns 1 (ie, can't find file or whatever) then your print job fails. This is why you should either log or create shell script to handle the error better.
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/
    Message was edited by:
    gareth.roberts
    oops, have tested changed to haven't tested!

  • Error 50103 (rwfdt:rwfdtprint): ERR Error occurred sending Job output

    Getting the below with a particular report I am running. Seems that the cache file isn't getting created for some reason. There are other cache files in the directory so it's not a user permission type thing I'm guessing.
    Anyone seen this before?
    [2007/7/4 2:10:15:431] APP 50103 (rwfdt:rwfdtni_NextInstance): running
    [2007/7/4 2:10:15:431] APP 50103 (rwfdt:rwfdtni_NextInstance): quit
    [2007/7/4 2:10:15:431] APP 50103 (rwfdt:rwfdtgcf_GenCachefile): running
    [2007/7/4 2:10:15:431] APP 50103 (rwfdt:rwfdtgcf_GenCachefile): Cache file is C:\oracle\product\10.2.0\MT\reports\cache\66117201.txt
    [2007/7/4 2:10:15:431] APP 50103 (rwfdt:rwfdtgcf_GenCachefile): quit
    [2007/7/4 2:10:15:431] APP 50103 (rwfdt:rwfdtprint): caching output from backend drivers
    [2007/7/4 2:10:15:431] Error 50103 (rwfdt:rwfdtprint): 14:10:15 ERR Error occurred sending Job output to cache

    Hi,
    Sorry I didn't realize that i didn't answer to this question because of reference to others.
    I solve it with change of values in rwserver.conf
    one of values is default but other solve issue.
    <property value="no" name="keepConnection"/>
    engLife="2"   or    engLife="1"This happens in my env because application often change user (db schema). And this is workaround for restarting engine.
    regards

  • SPOOL data gets truncated when bckground job output sent to spool recepient

    Hi All,
    I am facing a strange problem.
    I have a background job scheduled. Have specified a distribution list as the spool recipients.
    Background jobs output is sent to the recipients as attachment but data is not complete.
    When I check the spool request for that background job it contains 80 pages but the attachment in the recipients inbox contains just 17 pages.
    SP01/SP02 will display settings to display the range of pages but the emaill attachment doest show.
    Can anyone please help me with this?
    We are on ECC 6.0 (Windows2003/MSSQL2005 SP3)
    Regards,
    Yatin

    Hi,
    When the spool content is sent immediately after the background job its size is 14KB.
    I tested by sending spool content via mail using transaction SP01. I mean after the jobs is completed, I go to SP01 and send the SPOOL content manually. This time recipients receive the correct content of 80 pages and size of the document this time is 73KB.
    Regards,
    Yatin

  • Need help to import Job Output Collection (Repository.loadOutputCollection)

    Hi, ALL.
    I have a task to transfer all <BQYJobOutput>-objects (Hyperion workspace objects) from one environment(9.2) to another(9.3.1) using java SDK.
    Please help me to solve my problem and load <BQYJobOutput> back into workspase.
    I wrote an java apllication, so I did:
    1. I exported <BQYJobOutput> object using "saveContentsToZipByteArray" method. Now I have zip-archive on file system with ~32/.../70 files inside per one <BQYJobOutput>.
    2. I did "unzip", found proper BQYJob (job), and called:
    obj = getRepository().loadOutputCollection(
    job, EntityName, CategoryPath, arr_s_files, arr_b_primary
    , EntityBrowsable, EntityDesc, arr_s_keywords, pr_autoDelete, pr_expiration
    , pr_customProps, pr_exception, arr_s_exceptText, pr_rating);
    with
    pr_customProps.put("IS_DASHBOARD", "false");
    pr_customProps.put("sys_thin_client_view", "true");
    arr_s_files is array with all 32 full file pathes inside
    arr_b_primary array has "true" only for "primary" files ("false" for other)
    As result I got:
    - All 32 files in the folder/category.
    - New object with type "Output collection" not "Ineractive Reporting Job Output", and an empty content inside.
    Also, if you have rich documentaion/help on Repository.loadOutputCollection - please post it with details.
    Thank you in advance for any hint!
    What I have as part of java sdk:
    loadOutputCollection
    public com.sqribe.rm.JobOutput loadOutputCollection(com.sqribe.rm.Job job,
    java.lang.String name,
    java.lang.String path,
    java.lang.String[] files,
    boolean[] primary,
    boolean browsable,
    java.lang.String desc,
    java.lang.String[] keywords,
    boolean autoDelete,
    java.util.Date expiration,
    java.util.Properties customProps,
    boolean exception,
    java.lang.String[] exceptText,
    com.sqribe.rm.Rating rating)
    throws ReportMartException
    Load a job output collection in the repository. The newly created collection is associated with the specified job.
    Since:
    Version 8.0
    Thank you, Sergey

    There are always various ways to do things.  Any of the following and others will work.
    SCOTT@orcl12c> alter session set nls_date_format = 'dy dd-mon-yyyy hh24:mi:ss';
    Session altered.
    SCOTT@orcl12c> -- 1050 minutes divided by 1440 minutes in the day:
    SCOTT@orcl12c> select trunc(SYSDATE)+(1050/1440) from dual;
    TRUNC(SYSDATE)+(1050/144
    wed 06-nov-2013 17:30:00
    1 row selected.
    SCOTT@orcl12c> -- 17.5 hours divided by 24 hours in the day:
    SCOTT@orcl12c> select trunc(SYSDATE)+(17.5/24) from dual;
    TRUNC(SYSDATE)+(17.5/24)
    wed 06-nov-2013 17:30:00
    1 row selected.
    SCOTT@orcl12c> -- 17 hours + 1 half hour:
    SCOTT@orcl12c> select trunc(sysdate+1)+17/24+1/48 from dual;
    TRUNC(SYSDATE+1)+17/24+1
    thu 07-nov-2013 17:30:00
    1 row selected.

  • User Profile Service Application - My Site Suggestions Email Job

    User Profile Service Application - My Site Suggestions Email Job is sending duplicate emails. It runs 15th of every month at 10 pm. On 15th July, it ran from 10 pm to 11 pm and sent two emails during this interval. Can anyone please let
    me know what could be the possible reason behind this issue.
    Thanks!

    Hi Mannnn,
    Did you tried flushing timerservice? please flush timer service cache, restart IIS and then check.
    Let me know if you want steps on flushing sharepoint timer service.
    Viral Shah http://sharepointshah.blogspot.com

  • Job output is no longer available in the database control file

    Im running my rman backup with Oracle Enterprise manager grid control 10.2.0.1.
    In nocatalog mode.
    When I look for the job output in the "View Backup Report" section, it says
    Job output is no longer available in the database control file.
    Here is my rman setup:
    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 7;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 2;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK MAXPIECESIZE 5 G;
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/app/oracle/product/10.2.0/db_1/dbs/snapcf_mus_prod.f'; # default
    anyone knows why i cannot see my rman job output?

    show parameter control_file_record_keep_time;
    NAME TYPE VALUE
    control_file_record_keep_time integer 7
    The backup is usually the last one. And it's the day before.
    If i go to the JOB tab in oem, then click on the job detail, i can see the detail of my rman backup. But i cannot see the backup detail in the View Backup Report section off the database. It says the error message : Job output is no longer available in the database control file

  • Step by step on how to set up email as output type

    Hello everyone,
    can someone pls help me with the configuration and the steps I have to do to set up email as output type for order confirmation, delivery and shipping. Also can you tell me the programs and forms I have to select from in the condition type. Do I need to get the ABAP guys involved and what do I ask of them, how finally is it interfaced with the email. Please give me step by step for the configuration and any other set up I have to do. I am working on ECC 6.0 and I need all the help I can get.
    Thanks

    Hi,
    Please go through this link it will help you about Output process in SAP R/3 for sales documents and billing documents.
    http://help.sap.com/saphelp_47x200/helpdata/en/93/745017546011d1a7020000e829fd11/frameset.htm
    I hope it will help you,
    Thanks,
    Raja

  • Getting Job Output

    Hi there.
    I have a job that I run as a DBA Script that does the following:
    1)Runs dbms_stats.gather_schema_stats with the STALE option to get stale stats.
    2) If this first job fails then does a dbms_stats.gather_schema_stats on the whole schema.
    (the gather stale stats has been failing with ORA-00600 errors for some reason).
    What I would like is for the Job Output to show something like 'Running Job Stale' or something to identify which one actually ran.
    How can I get some sort of output into this dialog box?
    Thanks in advance,
    Jas

    Hi there.
    I have a job that I run as a DBA Script that does the following:
    1)Runs dbms_stats.gather_schema_stats with the STALE option to get stale stats.
    2) If this first job fails then does a dbms_stats.gather_schema_stats on the whole schema.
    (the gather stale stats has been failing with ORA-00600 errors for some reason).
    What I would like is for the Job Output to show something like 'Running Job Stale' or something to identify which one actually ran.
    How can I get some sort of output into this dialog box?
    Thanks in advance,
    Jas

  • How to send invoice through email with output type RD00?

    What are the configuration settings to send invoices through email with output type RD00?

    Hi,
    Please go through the following links:
    [E-mail|Email Configuration Settings]
    [e-mail|Re: EMAIL BILLING DOCUMENT TO CUSTOMER THROUGH SEND MAIL OPTION IN VF02]
    After triggering the output,goto T.Code SOST and process it.
    So that e-mail will be triggered immediately.
    You can use External send/EDI/simple mail for this.
    Regards,
    Krishna.

  • FinancialUtilService, downloadESSJobExecutionDetails method is not uploading ESS job output/log files to UCM.

    Hi,
    We are invoking financialUtilService web service using HTTP Proxy Client to upload data files and submit ESS and to get ESS job log files. We are able to successfully upload and submit ESS job. But downloadESSJobExecutionDetails is not uploading logs/out files to UCM.
              List<DocumentDetails> docDetails = financialUtilService.downloadESSJobExecutionDetails(requestId.toString(), "log");
            //  List<DocumentDetails> docDetails1 = financialUtilService.downloadExportOutput(requestId.toString());
              System.out.println("Ess Job output:" + docDetails);
              for(DocumentDetails documentDetails : docDetails){
                System.out.println("Account: "+documentDetails.getDocumentAccount().getValue());
                System.out.println("File Name: "+documentDetails.getFileName().getValue());
                System.out.println("Document Title: "+documentDetails.getDocumentTitle().getValue());
                System.out.println("DocumentName " + documentDetails.getDocumentName().getValue());
                System.out.println("ContentType " + documentDetails.getContentType().getValue());
    Below output is returned:
    Ess Job status:SUCCEEDED
    Ess Job output:[com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.DocumentDetails@5354a]
    Account: fin$/payables$/import$
    File Name: null
    Document Title: Uma Test Import
    DocumentName:  84037.zip
    ContentType zip

    Hey
    We have the same problem. On calling `downloadESSJobExecutionDetails`, a zipfile is returned, but it only contains my original upload file, not any logs. Although, if I call `downloadESSJobExecutionDetails` on a dependent child subprocess, the log is included.
    I also reported this to oracle support (SR 3-10267411981) - they referred me to known bug, to be fixed in v11: https://bug.oraclecorp.com/pls/bug/webbug_edit.edit_info_top?rptno=20356187 (not public accessible though )
    Is there any work around available?

  • Job output in System 9.3 Workspace

    We're learning the ins and outs of the workspace on System 9.3, and have two issues with job output:<BR><BR>1. Can we configure the system to NOT display the job log file? We don't want end users to see this!<BR><BR>2. Can we confgure the system to NOT display the job output as a type "Interactive Reporting Document (Web Client)"??? We want our users to view the output documents in the workspace's HTML viewer, but don't want them to install or use the browser plug-in client.<BR><BR>

    Hello,
    If you could provide a little more detail it might help narrow down the issue.
    Do the user's see the document within Workspace?
    Do they get an error when trying to access the document? If so what is the error?
    Are the user's provisioned to be able to access WebAnalysis?
    Do the user's have the appropriate JRE installed to launch the WebAnalysis Applet?

  • How to present a link to job (I want to bypass job output cycle wizard)

    Dear firends
    How to present a link to job (I want to bypass job output cycle wizard to open MyExample.BQY)
    http://MyServer:45000/workspace/browse/get/KursHYP2008/siyavus/MyExample?jobOutput=true&user=admin&pass=password
    this link shows wizard to open MyExample.BQY that I need to bypass it by putt it as parameter,
    regards

    Hello. Any update on this one ???
    Thanks in advance ...!

Maybe you are looking for