Scheduler email report comes blank

Function RSTUptime
Param([string] $Computer)
$UTime= d:\scripts\ps1\uptime\uptime.exe $Computer
Return $UTime
if I run the above function manually (got to dir uptime then call RSTUptime "ComputerName") works fine get the email report comes fine without any issue
when  I put this on scheduler output email comes blank. I want do ONLY by this method Please help me resolve this

Hi Asif300,
I have no idea about the file "uptime.exe", however, from your description, this execution file can send email, right?
Please try to save the poertshell script as .ps1 file, and run the .ps1 file in task scheduler:
Function RSTUptime
Param([string] $Computer)
$UTime= d:\scripts\ps1\uptime\uptime.exe $Computer
Return $UTime
RSTUptime -Computer "computername"
In addition, you can also post your current setting in task scheduler, does the account run the task has admin permission? Please also check the option "Run with the highest privileges".
If there is anything else regarding this issue, please feel free to post back.
Best Regards,
Anna Wang

Similar Messages

  • Scheduled Email Reports?

    Maybe we are just missing something very simple, even after all of the complexities of setting up Usage based reports that calculate a cost of running a VM per hour. My customer wants a weekly report emailed to them, Excel, PDF doesn't matter. While in the system we have the reports generating weekly and monthly, if you manually click on one you can chose to open or email it. How do you schedule emails to occur on a schedule? Seems like such a basic function, it would be in here somewhere!
    Thanks!

    Hi
    Welcome to the communities.
    Did you follwed below KB its say how to automate the report .
    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2019630.
    "Whoever is happy will make others happy too."

  • SCHEDULING/EMAIL REPORTS, HOW ??

    Hello,
    I am running Report 6i on NT. I use the Reports Queue Manager to schedule some report jobs to mail or printer. The Reports Queue Manager shows the times of last runs, but nothing happens to the mail and printer.
    Any information will be appreciated.

    I got similar problems and nobody is responding. I really got stuck up with this.
    let me know if u get something intresting.
    thanks,
    sh
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Weike:
    The error message:
    REP-4202: Error occurred while logging on to the Mail
    subsystem.
    REP-4224: Incorrect user name, password, or service
    profile name.
    REP-4202: Error occurred while logging on to the Mail
    subsystem.
    Anyone how to fix it ? Thanks.
    I am running Report 6i on NT. I use the Reports Queue Manager to schedule some report jobs to mail or printer. The Reports Queue Manager shows the times of last runs, but nothing happens to the mail and printer.
    Any information will be appreciated.<HR></BLOCKQUOTE>
    null

  • Scheduling a Report to Deliver As an Email Attachment

    Hi,
    I want to schedule a Report to Deliver As an Email Attachment. But I am getting the below error.
    oracle.apps.xdo.service.delivery.DeliveryException: oracle.apps.xdo.delivery.DeliveryException: Exception reading response;
    nested exception is:
         java.net.SocketException: Connection reset
         at oracle.apps.xdo.service.delivery.impl.DeliveryServiceImpl.deliverToEmail(DeliveryServiceImpl.java:235)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.deliver(XDOJob.java:1215)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:493)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    In the below link its given to setup the email server (ArGoSoft Mail Server Freeware)
    http://www.oracle.com/technology/obe/obe_bi/bipub/advance/advance.htm
    But I did not do the steps mentioned in the above link. Since I have email server configured on my system.
    I am using the proper Host name and Port. Can you please suggest why I am getting this error.
    Thanks,
    Shiva

    Not really the best way to go.  You'll waste a lot of time and it may not work for your receiver.  Most email hosts have file size limits that make emailing video files a problem.  Better choice is upload you video to YouTube or some other file sharing site then email a link.

  • Can you schedule a report to send to a email address that is pulled from a database field?

    Post Author: huber.molly
    CA Forum: Crystal Reports
    Currently, we are collecting email addresses in a database field. We want to send the generated reports to only these email addresses. Is there a way to add a dynamic value to the "To:" field when scheduling a report?
    The goal is to schedule the reports and let them be sent to these addresses so it removes the step of manually entering the addresses.

    Post Author: IdoMillet
    CA Forum: Crystal Reports
    It's not clear what tool you are using to schedule your reports.This may require a 3rd-party tool.  See list of such tools at: http://www.kenhamady.com/bookmarks.html. My Visual CUT software allows you to drag & drop an email field/formula from the report itself into the "Email To" option, to dynamically drive email options by the data in the report.  Alternatively, it allows you to use an SQL Query or a Text file to specify email addresses.- Ido

  • Unable to schedule a report to email and print

    I have been working on a task to both print and email a report to recipients whose email addresses are obtained at runtime.  So far I am able to email the report as a PDF attachment, however, I am not able to get the report to print.  I have three thoughts as to why the report is not printing.
    1. The printer is in a subdomain under the domain where InfoView and the Enterprise server reside.
    2. It is not possible to schedule a report for both an SMTP and print destination simultaneously.
    3. The format is causing an issue in printing - the SDK API states "Printer is a report format specific destination and can only be used when the report object is a Crystal Report."
    I have looked at the scheduled report in InfoView and can see that the print settings I am passing are correctly set for the scheduled instance.  Does anyone know if there is a problem with trying to schedule printing and email at the same time, or if the report format must be .rpt?
    Below is my code. Thank you for your time.
    String query = "Select SI_ID, SI_NAME, SI_PROCESSINFO, SI_SCHEDULEINFO, SI_SCHEDULE_STATUS From CI_INFOOBJECTS Where SI_ID=" + reportId;
            IInfoObjects results = null;
            ISchedulingInfo schedulingInfo = null;
            try {       
               results = iStore.query(query);           
            } catch( SDKException sdke ){
               logger.error(sdke);
            if( !results.isEmpty() ){
                // get the actual report object from collection and set scheduling information
                IInfoObject report = (IInfoObject)results.get(0);
                schedulingInfo = report.getSchedulingInfo();
                schedulingInfo.setType(CeScheduleType.ONCE);
                schedulingInfo.setRightNow(true);
                schedulingInfo.setRetriesAllowed(3);           
                try {
                    Set<String> keys = destinations.keySet();
                    Iterator i = keys.iterator();
                    while( i.hasNext() ){
                        String dest = (String) i.next();
                        if(dest.equals(CrystalDestinations.EMAIL)){
                            // get the destination object and set it to SMTP plugin
                            List emailAddress = destinations.get(CrystalDestinations.EMAIL);
                            IDestination destinationObject = schedulingInfo.getDestination();
                            destinationObject.setName("CrystalEnterprise.SMTP");    
                            IDestinationPlugin smtpPlugin = (IDestinationPlugin) iStore.query("SELECT * FROM CI_SYSTEMOBJECTS WHERE SI_PARENTID = 29 AND SI_NAME='CrystalEnterprise.SMTP'").get(0);
                            ISMTPOptions smtpOptions = (ISMTPOptions) smtpPlugin.getScheduleOptions();
                            smtpOptions.setDomainName( emailDomain );
                            smtpOptions.setServerName( smtpHost );
                            smtpOptions.setSMTPUserName( smtpUser );
                            smtpOptions.setSMTPPassword( smtpPass );
                            smtpOptions.setSubject( "Email for report " + report.getTitle() );
                            smtpOptions.setMessage( "This is the message body" );
                            smtpOptions.setSenderAddress( smtpUser + "@cdrh.fda.gov" );
                            smtpOptions.setSMTPAuthenticationType( ISMTPOptions.CeSMTPAuthentication.LOGIN );
                            for(int j = 0; j < emailAddress.size(); j++ ){
                                smtpOptions.getToAddresses().add( emailAddress.get(j) );
                            destinationObject.setFromPlugin( smtpPlugin );                                                                               
    } else if ( dest.equals(CrystalDestinations.PRINT) ){
                            List printers = destinations.get( CrystalDestinations.PRINT );                   
                            IReportPrinterOptions printerOptions = ((IReport)report).getReportPrinterOptions();
                            printerOptions.setCopies(1);
                            printerOptions.setEnabled(false);
                            printerOptions.setPrinterName( (String)printers.get(0) );                   
                            printerOptions.setPageLayout(IReportPrinterOptions.CeReportLayout.USE_SPECIFIED_PRINTER_SETTING);
                    List reportPrompts = ((IReport)report).getReportParameters();
                    for(int j = 0; j < reportPrompts.size(); j++){
                        IReportParameter prompt = (IReportParameter) reportPrompts.get(j);                   
                        if(prompt.getParameterName().equals(mdrParamName)){
                          IReportParameterSingleValue v = prompt.getCurrentValues().addSingleValue();
                          v.setValue(reportParameters.get(mdrParamName));
                        } else if(prompt.getParameterName().equals(addressParamName)){
                            IReportParameterSingleValue v = prompt.getCurrentValues().addSingleValue();
                            v.setValue(reportParameters.get(addressParamName)); 
                    IReportFormatOptions format = ( (IReport) report).getReportFormatOptions();
                    format.setFormat(IReportFormatOptions.CeReportFormat.PDF);
                    iStore.schedule( results );

    Hi Jason,
    Based on your code, I could not tell if you were scheduling a Crystal Report or a WebI document.
    Regardless, what I would suggest is you try scheduling the report/document on InfoView.
    Once you schedule it on InfoView, you can retrieve the instance on Query Builder (or through code) and compare the properties that are being set through InfoView and the one you set through your code.
    This should indicate if you are missing some properies or have set some properties incorrectly.
    Hope this helps.
    Regards,
    Dan

  • Can you schedule a report to be emailed out?

    Is there a way to have a schedule a report to run and then email the results out to either myself or a set email address?
    Thanks,
    Mike

    Hi Andrei,
    Do you want to email the report to public or private domain.
    Pls follow 1611420 - How to use a Gmail account for testing schedules to email
    delivery for public domain
    Your SMTP server in private domain should be configured in such a way that multiple domains in the organisation are configured and thus the same configuration on the Adaptive Job server.
    Thanks,
    Sneha

  • Email reports with graphs as HTML (via schedule)

    == W2K machine with Oracle Reports Server 6i R2 ==
    How can I schedule/design a report if sent via email (in HTML format), so the graph that is part of the reports shows up? Currently, the gif is missing. I can use the "hyperlink" in the web setting to point to the file on the web server, but this means my "customers" need to click the missing object.
    If I send the report as PDF, all is well but again, my customers need to "open" the file.
    Is there a way to email reports with graphs as HTML?
    In any other format where the receiver does not have to take any other action?
    Thx
    Josh

    My bursting SQL query:
    SELECT DISTINCT
    ip.APPL_ID KEY,
    '11F_Search_Prospect_Email' TEMPLATE,
    'RTF' template_format,
    'en-US' locale,
    'HTML' output_format,
    'EMAIL' DEL_CHANNEL,
    ip.email PARAMETER1,
    '[email protected]' PARAMETER3,
    'Welcome' PARAMETER4,
    'true' PARAMETER6
    FROM ugrad.inquiry_prospect ip,
    ugrad.correspondence f,
    ugrad.address e,
    ugrad.f_lookup fl
    WHERE ip.appl_id = f.appl_id
    AND ip.APPL_ID = e.APPL_ID
    AND fl.TYPE_CODE='C'
    AND ip.record_stage = 'Prospect'
    AND e.COUNTRY_CODE=fl.code
    AND e.table_name = 'INQUIRY_PROSPECT'
    AND e.address_type =
    NVL ((SELECT gg.address_type
    FROM ugradadm.address gg
    WHERE gg.address_type =
    DECODE (f.mailpref,
    'Home', 'HOME',
    'Best', 'LOCAL',
    'HOME'
    AND gg.table_name = 'INQUIRY_PROSPECT'
    AND gg.APPL_ID = ip.appl_id
    AND((gg.address_type='LOCAL' AND NVL(gg.address_expir_date,sysdate)>sysdate)
    OR gg.address_type='HOME')),
    'HOME'
    AND f.batchid = :Batch_ID
    This report when bursted sends an email with the layout template as html body.
    The EMAIL configuration is set with a server Port number and its host address.

  • I am not Getting emails when i schedule the Report.

    Hi All,
    When i Schedule the Report in obiee 11g i am Getting Alerts Successfully but am not getting Mail.
    When i Schedule the Publisher i am getting mails.
    ERROR Details:
    Eventually succeeded, but encountered and resolved errors...
    Number of skipped recipients: 2 of 3
    AgentID: /users/administrator/Agents/latest test
    [nQSError: 75005] Failed to send AUTH command. SMTP server does not support any authentication mechanisms. Remove email credentials, or use a server which supports authentication. AgentID: /users/administrator/Agents/latest test
    ...Trying SMTP Delivery loop again... Sleeping for 3 seconds. AgentID: /users/administrator/Agents/latest test
    [nQSError: 75005] Failed to send AUTH command. SMTP server does not support any authentication mechanisms. Remove email credentials, or use a server which supports authentication. AgentID: /users/administrator/Agents/latest test
    ...Trying SMTP Delivery loop again... Sleeping for 5 seconds. AgentID: /users/administrator/Agents/latest test
    [nQSError: 75005] Failed to send AUTH command. SMTP server does not support any authentication mechanisms. Remove email credentials, or use a server which supports authentication. AgentID: /users/administrator/Agents/latest test
    ...Trying SMTP Delivery loop again... Sleeping for 8 seconds. AgentID: /users/administrator/Agents/latest test
    [nQSError: 75005] Failed to send AUTH command. SMTP server does not support any authentication mechanisms. Remove email credentials, or use a server which supports authentication. AgentID: /users/administrator/Agents/latest test
    Exceeded number of SMTP delivery retries.
    Thanks and Regards
    Kiran Kumar

    Hi All,
    I got the answer and it worked for me:-
    1. If the BI Scheduler cannot ping the mail server specified in the scheduler configuration, check the correct server is specified. If it is, check that it is up and running.
    2. If the user name and password are specified in the scheduler configuration, log in to Enterprise Manager and navigate to:
    Weblogic Domain
    Right click on bifoundation_domain > Security > Credentials
    Expand oracle.bi.enterprise
    Highlight mail.server and delete the user name and password..
    Thanks & regards
    Nitin Aggarwal

  • Scheduling a report to EXTERNAL email ID in BO XI R2

    Hi ,
    Is it possible to schedule reports to an external email ID in BO XI R2 outside our corporate network ?
    We realise that BO XI R2 is no longer supported
    Thanks !

    Following SAP Notes can be helpful:
    1201704 - ErrorSMTP_E_MAILBOX_UNAVAILABLE_2(550) when scheduling a
    report to an email address
    1539011 - SMTP_E_MAILBOX_UNAVAILABLE_2(550)

  • Schedule webi report using  BW data source and send through email..

    Hi  all,
    I want to schedule webi report and send it through email.
    I am able to send through email.
    here im  got stopped how to schedule the report from bw data source . i have to schedule in webi infoview how to give date format in universe the report sholud run for (sysdate-2) daily
    eg. today is 02-DEC-2011 if i schedule the report it should run for 30-NOV-2011.  iam trying in both BW qyuery and CUBE im not getting how to give date format in
    let me knw is there any solutions..
    im using XIR3 3.1 sp3
    bw 7.1
    Integration kit sp3
    Regards,
    Ravi Sarma.

    it is resolvede by keeping sysdate-2 variable at bw query side i have solved my issue.
    Regards
    ravi

  • Scheduling Discoverer Report and distributing Discoverer Report Output

    Hi,
    We are using discoverer (Along with Oracle HCM R12) and would like the  END USER to schedule the reports by themselves.
    There is an option to schedule the report, and also an option to share it to chosen users/ responsibilities.
    We scheduled one report and also set the sharing option to share with others but it seems the report executes but doesn't get sent out by email to the END USER's email id.
    Any ideas / thought on this please?
    NB: We are looking to distribute Discoverer Report Output from scheduled Discoverer reports...not looking to share the report with other users/ responsibilities.

    Hi,
    My bad,  Sorry as I was speaking on EBS terms.
    Anyways, please see if the following thread helps you:
    https://forums.oracle.com/message/4485585#4485585
    https://forums.oracle.com/message/2777847#2777847
    Also see the forum search:
    Forum Search: Share report
    Thanks &
    Best Regards

  • Scheduled discoverer report giving error

    Hi All,
    I am facing a problem where in I have scheduled a report. The table populated after scheduling is fetching data but when we try to open the scheduled report it gives an error ' Inconsistent datatype expected number got date '.
    We are using a function in the report which fetches a date colomn and return type of that date used is Varchar(2). We also tried using the return type as date but same error comes.
    An early response will be highly appriciated.
    Regards,
    Shruti

    i have similar problem - i have some calculated columns in the report.....when i schedule it the values in one column are getting populated in the other column.....if i run the report manually i did not have any problem.
    i had a small calculation for a column (date)....user wanted to see it in a different format in the report.....
    already that column was existing in the folder but in a different format......but upon users request i just put up a small calculation for that...........
    i scheduled the report and ironically only that calculated column (date) was getting populated wrong........so i pulled the normal date column from the folder..........and now i have two columns for date (1-calculated, 2 - from folder)..........1st column is anyhow getting populated wrong....but the 2nd column was pretty good........
    many of you might know....."*IDLE MAN'S BRAIN IS A DEVILS WORKSHOP*"....
    i formatted the 1st column with white color and kept the background color also as white......so that when the user opens the scheduled report.....he will see only a blank white column for the 1st column............i told him to export it to excel and then delete that blank column and save your excel output..
    i know this is the worst solution or idea anyone can get.........but i had to do it.

  • Error when scheduling a report

    Hi,
    I am running XML Publisher 5.6.2 standalone. I am having the following issue:
    I am trying to schedule a report to run sun - mon at 06:30am and email and excel file to the user. The job is failing. This is the error that we are receiving in the schedule tables.
    errdetail=org.quartz.JobExecutionException\: javax.naming.NamingException\: Not in an application scope - start Orion with the -userThreads switch if using user-created threads [See nested exception\: javax.naming.NamingException\: Not in an application scope - start Orion with the -userThreads switch if using user-created threads]\n\tat oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java\:588)\n\tat oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java\:236)\n\tat org.quartz.core.JobRunShell.run(JobRunShell.java\:195)\n\tat org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java\:520)\n* Nested Exception (Underlying Cause) ---------------\njavax.naming.NamingException\: Not in an application scope - start Orion with the -userThreads switch if using user-created threads\n\tat com.evermind.server.PreemptiveApplicationContext.getContext(PreemptiveApplicationContext.java\:34)\n\tat com.evermind.naming.FilterContext.lookup(FilterContext.java\:138)\n\tat javax.naming.InitialContext.lookup(InitialContext.java\:347)\n\tat oracle.apps.xdo.servlet.data.JNDIDataSource.getConnection(JNDIDataSource.java\:100)\n\tat oracle.apps.xdo.servlet.data.bind.SQLBoundValue11.callDataEngine(SQLBoundValue11.java\:424)\n\tat oracle.apps.xdo.servlet.data.bind.SQLBoundValue11.processData(SQLBoundValue11.java\:370)\n\tat oracle.apps.xdo.servlet.data.bind.SQLBoundValue11.getXML(SQLBoundValue11.java\:547)\n\tat oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java\:331)\n\tat oracle.apps.xdo.servlet.XDOProcessor.processScheduledRequest(XDOProcessor.java\:330)\n\tat oracle.apps.xdo.servlet.ReportImpl.renderScheduledJob(ReportImpl.java\:119)\n\tat oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java\:582)\n\tat oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java\:236)\n\tat org.quartz.core.JobRunShell.run(JobRunShell.java\:195)\n\tat org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java\:520)\n
    please sommer search for that other error as well (in the appserver logs)
    If anyone has come accross this issue, could you please advise me how to fix it.
    Thanks in advance.
    Remeez

    Hello,
    Just to let you know we figured this one out.  At some point I'd installed Crystal Reports Designer XI R1 on the server (must have service packed it as well).  This is a good thing as it's helped troubleshoot various connection issues etc.
    However this overwrote the prompt.dll file, the version of the new file was 11.0.0.2478.  I've since installed Business Objects XI R1 on my local machine without Crystal Reports to see what the version of the prompt.dll file would be.  It was 11.0.0.1282 so I replaced the newer prompt.dll with the older one and problem fixed.
    Cheers,
    Chris

  • Scheduling Crystal Report to fax

    Hello,
    We have a requirement to schedule the Crystal Report to fax through Crystal Report Server 2008.
    We use rightfax server with email gateway configured to SMPT server to send fax as email . In order to send fax as email right fax server uses addressing scheme like below for email address.
    /fax= <fax Number>/<domain name)
    /fax = 610666666/<arightfax(at)xyz.com>
    In Crystal Report Server, I scheduled  crystal report with destination as email and for " To field :" entered email address following above addressing scheme.  But crystal report server does not recognize above addressing scheme as email address and job fails.  Please advice if there is any way to resolve this or achieve my requirement through Crystal Report server.
    Thank you.
    Regards
    Pushparaj.

    I was wondering if you had heard or found anything on this Issue we are also trying to perform the same function and I am looking for some way to send several reports to the Right Fax printer or to the system.

Maybe you are looking for