Script to send a mail alert whenever server boot

hi,
I need a shell or perl script to send a mail alert to user whenever server boot, restart and shutdown.because in my office power problem is there.So the server restarted intermediatly.Kindly any one give a script to rectify my problem.

If the server isat all important and you have a power problem, do consider getting a UPS. It might recover OK most times from power cuts (especially if you're on ZFS), but if you get other power problems like brown-outs and spikes, you might one day regret leaving it connected to a bad mains feed. Choose a mainstream brand like APC to be sure of Solaris support. The line-interactive versions, e.g. SmartUPS will recondition the mains waveform as well as maintaining supply during a power cut.

Similar Messages

  • Does SAP can send a mail thru smtp server ?

    Hello everybody ,
            Does sap 4.7 can write a abap program to send a mail thru another smtp server (ex:lotus notes) ?
            because of i hav' t any basis authorzation .
    Thanks in advanced,
    Best Regards,

    Hi,
    As far as i know , it is not possible to send a mail through external server (lotus notes).
    If u dont have the authorizations then just check it with ur BASIS guy.. he can provide u with the same..
    Cheers,
    Simha.

  • How do I send e-mail alert from WLST

    how do I send e-mail alert from WLST

    Look like it's pain...
    Better to write java class... that's what I did...
    inf any one need it.. e-mail me...
    [email protected]

  • Script to send email notification when sql server stops..

    Hi,
    I am looking for a script through which I can monitor sql server service status and if it down for any reason, I want to send email to Dba team.  How to achieve this? Did anyone has already done similar kind of monitoring?
    Again, I am not looking for any 3rd party monitoring system like SCOM etc.. I looking for a batch file or script outside sql which can solve this.
    Any help would be greatly appreciated.
    Thank you.

    There are two ways to do it:
    1). There is a job option wherein you can put the alert message and then in schedule option, select to alert you only when Sql Agent Services get restarted. So this way you will come to know when Sql Agent Services got restarted.
    2). From any centralize\third server apart from your database server\host, you can put a job to execute almost around every 5 minutes to check service status and then call a batch file which will call OSQL code to execute sql code for sending alert
    based on the message content you want to like below:
    Scripts below, even you can tweak more on this as per your environment requirement and even you can merge some scripts to make one out of two or similar, however keeping each separate one helps to track scripts.
    First Batch File with Name: ServiceStatusCheck.bat
    with below content
    Echo "Checking Service Status"
    :Query
    FOR /F "tokens=4 delims= " %%A IN ('SC QUERY "XXXXXXXXServiceNametobeCheckedPutHere" ^| FIND "STATE"') DO SET status=%%A
    IF "%status%"=="STOPPED" GOTO Shootout
    :Shootout
    'email for success in first attempt
    'Put path of batch file
    "D:\Script\Successemail.bat"
    Exit
    Second Batch file with below content which will call Sql file to send alert: File Name: Successemail.bat
    ECHO "Send Email Alert"
    OSQL -E -S XXXXXXXXX -i "D:\Script\Successemail.sql"
    ECHO "Done"
    Exit
    Third Sql File to send email: File Name: Successemail.sql
    Declare @bodyT varchar(200)
    Set @bodyT  =
    'Service was found in stopped status and Date & Time::'
     +replace(convert(varchar(20),GETDATE(), 102),'.','/')
     +'::'
     +convert(varchar(20),GETDATE(), 108)
    EXEC msdb.dbo.sp_send_dbmail
        @profile_name='Profilename',
        @recipients = '[email protected]',
        @body  = @bodyT,
        @subject = 'Service was found in stopped status, Check Details!!'
    GO
    Santosh Singh

  • How to send e-mail alert to the user job is successful or failed.

    Hi Experts,
    I have scheduled a job using DBMS_JOB Package; in this job I am calling a procedure.
    How can we send an e-mail(alert) to the user if the job is successful (or) job fails.
    If the job is successfully completed, then we have to send mail as “Job is completed successfully along with job name”.
    If the job fails we have to send email as “error message of the job along with job name”(why the job is failed).
    This alert should be sending automatically no manual intervention.
    Please help me.
         CREATE OR REPLACE PROCEDURE APPS_GLOBAL.arc_procedure (P_ID IN NUMBER)
         IS
         CURSOR C IS SELECT id,table_name,archive_table_name,where_condition
         FROM apps_global.control_ram
         WHERE id = p_id
         ORDER BY id, table_name;
         BEGIN
            FOR I IN C
            LOOP
               EXECUTE IMMEDIATE
                  'INSERT INTO '
               || I.ARCHIVE_TABLE_NAME
               || '
         (SELECT * FROM '
               || I.TABLE_NAME
               || ' WHERE '
               || I.WHERE_CONDITION
               || ')';
               EXECUTE IMMEDIATE
                  'DELETE FROM '
               || I.TABLE_NAME
               || ' WHERE '
               || I.WHERE_CONDITION
               || '';
               COMMIT;
            END LOOP;
         EXCEPTION
            WHEN OTHERS
            THEN
               ROLLBACK;
               DBMS_OUTPUT.PUT_LINE (
               'An error was encountered - ' || SQLCODE || ' -ERROR- ' || SQLERRM);
         END arc_procedure;
         /This is my job.
    DECLARE
      X NUMBER;
    BEGIN
      SYS.DBMS_JOB.SUBMIT
      ( job       => X
       ,what      => 'APPS.arc_procedure(1);'
       ,next_date => to_date('05/01/2013 00:00:00','dd/mm/yyyy hh24:mi:ss')
       ,interval  => 'TRUNC(SYSDATE+1)'
       ,no_parse  => FALSE
      SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x));
    COMMIT;
    END;
    /Thanks in advance.

    Hi,
    I think you can do by creating mailing procedures and call it in the loop and outside the loop.
    There would be two procedure one in inside loop which will execute after successfull completion of the loop.
    Other would be in the exception block like i shown in the below code you have written;
    V_variable_1 you can use as a parameter for what is the error occured.
    like suppose your mailing procedure name is Status_email and Status_email_1.
    CREATE OR REPLACE PROCEDURE APPS_GLOBAL.arc_procedure (P_ID IN NUMBER)
         IS
         CURSOR C IS SELECT id,table_name,archive_table_name,where_condition
         FROM apps_global.control_ram
         WHERE id = p_id
         ORDER BY id, table_name;
    V_VARIABLE_1 NUMBER;
    V_VARIABLE_2 VARCHAR2(400);
         BEGIN
            FOR I IN C
            LOOP
               EXECUTE IMMEDIATE
                  'INSERT INTO '
               || I.ARCHIVE_TABLE_NAME
               || '
         (SELECT * FROM '
               || I.TABLE_NAME
               || ' WHERE '
               || I.WHERE_CONDITION
               || ')';
               EXECUTE IMMEDIATE
                  'DELETE FROM '
               || I.TABLE_NAME
               || ' WHERE '
               || I.WHERE_CONDITION
               || '';
               COMMIT;
                     STATUS_EMAIL;
            END LOOP;
         EXCEPTION OTHERS THEN
    V_VARIABLE_1 :=SQLCODE;
    V_VARIABLE_2 :=SQLERRM;
               ROLLBACK;
    STATUS_EMAIL_1(V_VARIABLE_1,V_VARIABLE_2);
         END arc_procedure;
         / You can refer to sample email procedure i have created for you.
    CREATE OR REPLACE PROCEDURE STATUS_EMAIL
    AS
       v_From       VARCHAR2(80) := 'EMAIL_ID';
       v_Recipient  VARCHAR2(80) := 'EMAIL_ID';
    --YOU CAN SEND EMAIL TO MORE THAT ONE USER SO YOU CAN USE LIKE BELOW VARIABLE....
       v_Recipienttt  VARCHAR2(80) := 'EMAIL_ID';
       v_Subject    VARCHAR2(80) := 'SUBJECT_FOR_THE_MAIL';
       v_Mail_Host  VARCHAR2(30) := 'MAIL_SERVERS_HOST_IP(SMTP_SERVER)';
       v_Mail_Conn  utl_smtp.Connection;
       crlf         VARCHAR2(2)  := chr(13)||chr(10);
    BEGIN
      v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host);
      utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
      utl_smtp.Mail(v_Mail_Conn, v_From);
      utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
      utl_smtp.Rcpt(v_Mail_Conn, v_Recipienttt);
    --OPEN DATA CONNNECTION
      UTL_SMTP.OPEN_DATA(v_mail_conn);
    --MAIL HEADER
      utl_smtp.write_DATA(v_Mail_Conn,'Date: '   || to_char(sysdate, 'DD-MON-YYYY hh:mi:ss AM') || crlf);
      utl_smtp.write_DATA(v_Mail_Conn,'From: '   || v_From || crlf );
      utl_smtp.write_DATA(v_Mail_Conn,'Subject: '|| v_Subject || ||crlf);
      utl_smtp.write_DATA(v_Mail_Conn,'To: '     || v_Recipient || crlf);
      utl_smtp.write_DATA(v_Mail_Conn,'Cc: '       || v_Recipienttt ||','|| crlf);
    --MAIL BODY
      utl_smtp.write_DATA(v_Mail_Conn,'MIME-Version: 1.0'|| crlf );
      utl_smtp.write_DATA(v_Mail_Conn,'Content-Type: multipart/mixed;'|| crlf );
      utl_smtp.write_DATA(v_Mail_Conn,' boundary="-----SECBOUND"'|| crlf ||crlf );
      utl_smtp.write_DATA(v_Mail_Conn,'-------SECBOUND'|| crlf );
      utl_smtp.write_DATA(v_Mail_Conn,'Content-Type: text/plain;'|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,'Content-Transfer_Encoding: 7bit'|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,'Procedure is successfully complited without error'|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,null|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,null|| crlf);
    utl_smtp.write_DATA(v_Mail_Conn,null|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,'Dear All, '|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,'Procedure is successfully complited without error'||'.' ||crlf);
      utl_smtp.write_DATA(v_Mail_Conn,null|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,null|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,null|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,null|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,'Regards, '|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,null|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,'any_name '|| crlf);
      utl_smtp.write_DATA(v_Mail_Conn,null|| crlf);
      utl_smtp.write_data(v_Mail_Conn, utl_tcp.CRLF ||'This mail is auto generated.');
      --CLOSE CONNECTION
      UTL_SMTP.CLOSE_DATA(v_mail_conn);
      utl_smtp.Quit(v_mail_conn);
    EXCEPTION
      WHEN utl_smtp.Transient_Error OR utl_smtp.Permanent_Error then
        raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
    END;
    /cheers..

  • Sending e-mail alerts in Microsoft Project 2010

    I'm using Microsoft Project 2010 in creating my project. While adding my tasks I want to be able to send an e-mail alert to my resources indicating a task is coming up or the task is overdue. What do I have to do?

    Unfortunately your post is off topic here, in the TechNet Site Feedback forum, because it is not Feedback about the TechNet Website or Subscription.  This is a standard response I’ve written up in advance to help many people (thousands, really.)
    who post their question in this forum in error, but please don’t ignore it.  The links I share below I’ve collected to help you get right where you need to go with your issue.
    For technical issues with Microsoft products that you would run into as an
    end user of those products, one great source of info and help is
    http://answers.microsoft.com, which has sections for Windows, Hotmail, Office, IE, and other products. Office related forums are also here:
    http://office.microsoft.com/en-us/support/contact-us-FX103894077.aspx
    For Technical issues with Microsoft products that you might have as an
    IT professional (like technical installation issues, or other IT issues), you should head to the TechNet Discussion forums at
    http://social.technet.microsoft.com/forums/en-us, and search for your product name.
    For issues with products you might have as a Developer (like how to talk to APIs, what version of software do what, or other developer issues), you should head to the MSDN discussion forums at
    http://social.msdn.microsoft.com/forums/en-us, and search for your product or issue.
    If you’re asking a question particularly about one of the Microsoft Dynamics products, a great place to start is here:
    http://community.dynamics.com/
    If you really think your issue is related to the subscription or the TechNet Website, and I screwed up, I apologize!  Please repost your question to the discussion forum and include much more detail about your problem, that could include screenshots
    of the issue (do not include subscription information or product keys in your screenshots!), and/or links to the problem you’re seeing. 
    If you really had no idea where to post this question but you still posted it here, you still shouldn’t have because we have a forum just for you!  It’s called the Where is the forum for…? forum and it’s here:
    http://social.msdn.microsoft.com/forums/en-us/whatforum/
    Moving to off topic. 
    Thanks, Mike
    MSDN and TechNet Subscriptions Support <br/> Read the Subscriptions <a href="http://blogs.msdn.com/msdnsubscriptions">Blog! </a>

  • Problem to send e-mails from bo server

    Hi!!!
    I want to send some webi reports from my bo server to a email addres, but it show me the following message:
    address error. [Error sending address(es) to SMTP server. Return code: [SMTP 550 - Requested action not taken: mailbox unavailable.]. Reason: [email addres].]: [CrystalEnterprise.Smtp]
    Can you help me please??
    Ruddy Alvarado

    We are facing the same issue
    server error. [CrystalEnterprise.Smtp]: [Error initializing SMTP server. Return code: [TCP send failed.]. Reason: [XXXX.XXXX.XXXX:25].]
    - I tried with FQDN, IP address of SMTP server
    - I was able to send e-mail to myself from command line useing telnet xxxxx.xxx.xxx 25 (so that means port 25 is open and communication is happening between BO servers to SMTP server
    - No firewalls on BO servers (2008 VMware)
    - Antivirus has been disabled on these servers (just to see if that is blocking anything)
    What else I can check with my SMTP admin.
    Anybody here has any ideas? Appreciate your inputs.
    -- Nivas

  • Error sending e-mail (alert report)

    hai,
    I am trying to send alert message and Report via e-mail.
    I caught up in this error .The eventvwr is giving this error.
    " The transport failed to connect to the server."
    Please help me to solve this problem.
    thanks in advance.

    Hai,
    Thanks for the reply...i had given the correct "Server Name: and
    Email Account for Alerting" in the
    Message Center management and restarted the Event Engine .....still i am getting the same error.....
    Please provide me the solution....
    thanks.

  • CSS11500 - check via script and sending e-mail

    Hi together,
    I want to check some parameters via script on the css.
    That works fine.
    Is there any possibillity to send an email with the result of this check script directly from the css ?
    How do I have to configure the smtp server and the mailaddress.
    thanks in advance

    there is no sendmail functionality on the CSS.
    SO, if you want to send emails, you will have to work at tcp level and create your onwn mail client.
    Gilles.

  • Failed to send E-Mail Alerts using Cisco NCS

    Hi,
    I was trying to configure the Email Alert Notication on Cisco NCS but it is not working.
    I SMTP server is configured and I add the server IP to NCS (Administration > Setting > Mail Server Configuration). When I click the Test button I always end up with the error message saying "Failed to send mail to primary SMTP server. Please make sure that you save mail configuration by hitting 'Save' button.". I tried saving it but I still end up with the same error. Did anybody encountered this on NCS?
    Regards,
    Leonard

    I have a slightly different issue.  We have an existing NCS box with the email account configured and it emails to one person.  When I add my name to the list of recipients, it only emails the first person in the list.  It seems to ignore the second person.
    Oddly enough, when I click on "test", it sends an email to the first person in the list, and that person can see in the email that I was copied on the email.  But my email never appears.  I even added my Yahoo! email account, and don't get it there either.
    Don't see anything in spam folders either.  Anyone know if there's a bug with adding more than one email address in NCS?

  • Most Basic EEM Script to Send E-mails

    I have read through various blogs and Cisco posts and still cannot seem to get this to work.  I am simply trying to get the router to send the "show ip int br" info via e-mail from a G-Mail account to a G-Mail account.  I am wondering if this is unsupported because G-mail uses TLS/SSL and different ports and I can't seem to defined this anywhere.  Can anyone confirm?
    I manually run the EEM script via "event manager run IPAddressNotify".  I have made sure that the router can ping "smtp.gmail.com" (IE IP reachability and name-lookups are successful). 
    event manager environment _email_to [email protected]
    event manager environment _email_server gmailusername:[email protected]
    event manager environment _email_from [email protected]
    event manager applet IPAddressNotify
    event none
    action 1.0 info type routername
    action 1.5 cli command "enable"
    action 2.0 cli command "show ip int br"
    action 8.0 mail server "$_email_server" to "$_email_to" from "$_email_from" subject "Router reload - IP Address info for $_info_routername" body "$_cli_result"
    action 9.0 syslog msg "E-mail was sent"

    Joseph,
    Thanks for the info!  This is perfect.  Can you verify that my logic is clear, just so I know I am interpreting this correctly.
    Right now, my IOS version does NOT support the "secure" and "port" parameters for EEM.  Since G-Mail does NOT support unencrypted SMTP (verified), there is no way that I can use EEM or TCL to e-mail myself messages.  Correct?
    When you state that my username cannot have an '@' in it, is this referring to the 'from' field which would be "[email protected]"? Or, is this referring to the 'server' field which would be "gmailusername:[email protected]".  Luckily, Google lets me authenticate by specifying 'gmailusername', rather than '[email protected]'.  This should work then correct?

  • Send a mail using smtp server

    i'm new to java mail api
    i'm using a machine which is in a network under a proxy server and a fire wall.our network has a smtp server.
    i tried to send a amil using a smtp server.
    my codes are
    package mailtest;
    import java.util.Properties;
    import javax.mail.Session;
    import javax.mail.internet.MimeMessage;
    import javax.mail.internet.InternetAddress;
    import javax.mail.MessagingException;
    import java.io.*;
    import javax.mail.Message;
    import javax.mail.Transport;
    public class FirstMail {
    String mailServer;
    String host;
    public FirstMail() {
    //global
    mailServer="mail.smtp.host";
    host="mail.informatics.lk";
    // Get system properties
    Properties myProperties=new Properties() ;
    // Setup mail server
    myProperties.put(mailServer,host) ;
    myProperties.put("mail.smtp.auth", "true");
    // Get session
    Session myMailSession;
    myMailSession=Session.getInstance(myProperties,null);
    //myMailSession.setDebug(true);
    // Define message
    MimeMessage message=new MimeMessage(myMailSession);
    // Set the from address
    //try {
    try {
    message.setFrom(new InternetAddress("[email protected]","CHANAKA ARUNA"));
    catch (UnsupportedEncodingException ex1) {
    System.out.println("CAN NOT SEND FROM");
    catch (MessagingException ex1) {
    System.out.println("CAN NOT SEND FROM");
    // Set the to address
    try {
    message.addRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
    catch (MessagingException ex) {
    System.out.println("CAN NOT SEND TO");
    // Set the subject
    try {
    message.setSubject("RE:$$$$");
    catch (MessagingException ex2) {
    System.out.println("WRONG SUBJECT");
    // Set the content
    try {
    message.setText("***chanaka***");
    catch (MessagingException ex3) {
    System.out.println("WRONG MESSAGE");
    // Send message
    try {
    Transport.send(message);
    System.out.println("MESSAGE SENT");
    catch (MessagingException ex4) {
    System.out.println("UNABLE TO SEND");
    public static void main(String[] args) {
    FirstMail firstMail1 = new FirstMail();
    it was not work, but when i use the ip address of smtp server instead of mail.informatics.lk at
    host="mail.informatics.lk";
    it worked properly and i could get a mail to my yahoo address.
    but i have seen some have used host name like
    host="smtp.snet.yahoo.com";
    how can i do it using yahoo smtp server.
    also i want to know whethr i can use that our smtp server from a computer outside of the net work.
    pls help me
    txs lot.

    Almost certainly, if you are behind a proxy server it will only be a proxy for HTTP traffic, and you will not be able to communicate with an SMTP server outside your network. But you have your own SMTP server so why would you want to?
    If you have a proxy server and an SMTP server then there will be people responsible for supporting them. Talk to those people and ask them to give you the basic explanation of networking that you need.

  • Send an alert when Server Admin Tool has logged in?

    Is there a way to determine if someone remotely logged in via "Server Admin.app"? The application has no own log file.
    I've managed to setup a launchd task that sends an email whenever someone establishes a vpn connection by watching the pppd log file. Can this also be done for that servermgrd process?

    The basic idea was to watch the log file of the vpnd daemon and fire a shell script that sends a mail to me, if the most recent line of the log file contains the word "progress". (That word is a unique indicator for a successful connection. Otherwise you will get mails for each status change, too.)
    To watch a file change i used Lingon: I logged in via Remote Desktop, launched "Lingon" (freeware - http://sourceforge.net/projects/lingon/) and created a user daemon named "com.myserver.vpnd_watch". Then i've chosen my shell script as the application to be called. In my case it was "/usr/sbin/vpnd_watch.sh". And finally i set the only option "Run it if this file is modified:" as "/var/log/ppp/vpnd.log".
    The shell script is quiet simple. To prevent multiple alerts for the same event, it reads a file that contains the date & time of the last login/alert, reads out the date & time of the most recent log file entry containing the word "progress" and compares both. In case of being different, it sends a mail with the log file entries of the last three connections via email and creates a new date file.
    #!/bin/bash
    *date_old=$(cat /Users/myaccount/watch_date.txt)*
    *date_new=$(cat /var/log/ppp/vpnd.log | grep progress | tail -n1 | grep -o -E "[a-zA-Z]{3} [0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}")*
    *if [ "$date_old" != "$date_new" ]; then*
    *cat /var/log/ppp/vpnd.log | grep progress | tail -n3 | mail -s "VPN Connection" [email protected]*
    *echo $date_new > /Users/myaccount/watch_date.txt*
    fi
    *exit 0*
    (You might have to set permissions accordingly.) The log file entry which matters is something like:
    Fri Nov 19 22:23:43 2010 : L2TP incoming call in progress from 'xxx.xxx.xx.xx'...
    This is also the message text of the email, so you can see what the connecting client's IP address is. My mobile phone provider offers a mail to SMS service. So i get an SMS on my iPhone, too. Useful when i don't have an internet connection or no time to check mails.
    Binding all administrative traffic to that vpn connection (ssh, ARD and Server Admin Tools) makes sure that you're always informed if some tries to take control and by the IP address if it's your client.

  • Need to send a email alert to Projectmanger when publishing a project in project server 2010 PWA site

    Hi All
    When creating and publishing a project in PWA(server 2010) need to send a mail alert to the concerned project manager.
    How can i achieve this..
    I have configured the outgoing mail sending in sharepoint and its working fine now.
    Please help me..
    Thanks Advance
    SharePoint Module Lead Assyst International Private Ltd Cochin India

    Nothing is built in Project Server to do this for you automatically.
    They way I have done this in the past is to create a SQL job using SSIS.  It runs every hour and when it sees a project schedule that has a recent PUBLISHED date then this is a trigger to send an email to project manager.
    Cheers!
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • Sending Mail from EBP Server

    Hi,
    I am trying to send external mail from EBP server through the function module SO_NEW_DOCUMENT_ATT_SEND_API1. I have passed similar kind of values to the parameter which I have used for R/3 while using the same function module. In R/3 server the function module is working fine but not in EBP. I am new in EBP. Does this function module work fine in EBP ? If not can someone provide me any Function Module name through which I can send external mail ?
    Thanks in advance,
    Achirangshu

    Hi,
      Try the FM "SO_DOCUMENT_SEND_API1".
    BR,
    Disha.
    Pls reward points for helpful answers.

Maybe you are looking for

  • Crystal report align problem when printing or converting to PDF

    hi Im using Crystal report in asp.net 2.0.. I draw line to design my invoice report on viewing that in aspx page it looks perfect and fine.. If i need to export my report to PDF. In Crystal Report Viewer the Alignment are perfect.. But when i export

  • Triggers to Update rows in the same table

    Hi, I have a table called as "Cal" which has the following fields CALID Description RecurringID There will be many records with the same recurring id and If the Description field is Updated, then I would like to Update the same description to all the

  • How to display data in table

    Hi all, can any one tell me how to display data in a table when user click on a button. i have created a node with a set of fields from different tables now how to write the logic to display data in that table. Thanks & Regards, Naveen

  • Dialog box size when saving a postscript file CS5 is huge.

    When i save a postscript file, the dialog box that allows me no navigate to the place I wish to save my file is huge. About 10 inches wide and 3 inches high. I have tried to resize this box, expecting that the last used dimensions would be remembered

  • How to get server date and time using java code

    Hi, I'm new to java. I have one doubt about getting date and time of the server. can anyone give some sample code to get that. thanks in regards Gopi.