Creating a Static IP address with this data

This is the output from my server that I am trying to create a Static IP address:  I have tried many attempts to specify a static IP address that will no lose internet connection the last of which allowed me to get all the way through installing DNS,
DNS Zone, ADDS, and then when at DCPROMO said that the IP address was not Static?
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:\Users\Administrator>ipconfig/all
Windows IP Configuration
   Host Name . . . . . . . . . . . . : WIN-A6DNF2ECGQB
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection 2:
   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Broadcom NetXtreme Gigabit Ethernet #2
   Physical Address. . . . . . . . . : 00-22-19-BE-5E-18
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
Ethernet adapter Local Area Connection:
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Broadcom NetXtreme Gigabit Ethernet
   Physical Address. . . . . . . . . : 00-22-19-BE-5E-17
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::d4b7:e846:e431:d947%11(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.0.11(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : 18 January 2014 11:48:02
   Lease Expires . . . . . . . . . . : 19 January 2014 11:48:01
   Default Gateway . . . . . . . . . : 192.168.0.1
   DHCP Server . . . . . . . . . . . : 192.168.0.1
   DHCPv6 IAID . . . . . . . . . . . : 234889753
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1A-6C-20-E4-00-22-19-BE-5E-17
   DNS Servers . . . . . . . . . . . : 194.168.4.100
                                       194.168.8.100
   NetBIOS over Tcpip. . . . . . . . : Enabled
Tunnel adapter isatap.{7DBA796E-46AD-41DB-AC4F-5DA33ACA3DAF}:
   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 12:
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:0:9d38:6abd:2437:160:3f57:fff4(Prefe
rred)
   Link-local IPv6 Address . . . . . : fe80::2437:160:3f57:fff4%15(Preferred)
   Default Gateway . . . . . . . . . : ::
   NetBIOS over Tcpip. . . . . . . . : Disabled
C:\Users\Administrator>
C:\Users\Administrator>

The last attempt I made I used the preferred Ip address listed in the config output:
 IPv4 Address. . . . . . . . . . . : 192.168.0.11(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 194.168.4.100
This passed the automatic check when I closed the properties window after specifying the above and allowed me to install DNS, ADDS, but stopped half way through the DCPROMO wizard saying that the IP was not static.
This did not lose internet connection through out the procedure.
I have not tried disabling the second, connection

Similar Messages

  • How do I create an interactive PDF file with variable data

    We would like to basically do a 'mail merge' of our list of customers with an interactive PDF file (including videos, menus, etc - not just form fill out and web links) to create a single PDF file that contains multiple mail pieces ... one for each customer ... with each mail piece being customized for that customer.  Customizations would include different greetings (Dear Bob, Dear Dana, etc), as well as different charts based on data unique to the customer, different photographs, etc.
    I've seen that InDesign and Acrobat Professional can be used to create an interactive PDF (such as from http://tv.adobe.com/watch/ask-the-adobe-ones/14-calling-rufus-about-interactive-pdf-making).  However I don't understand how I can insert data from a database, csv file, excel file etc into the PDF file so that each page, or each set of pages, within the PDF can be customized.
    Can anyone point me to a tool to use for this?
    Thanks,
    Bob Kendall

    For that kind of volume and unattended operation, you want InDesign Server – which is the server/high volume edition of INDD.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Thu, 3 Nov 2011 06:58:07 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: How do I create an interactive PDF file with variable data
    Re: How do I create an interactive PDF file with variable data
    created by Ti26E31DSxxx<http://forums.adobe.com/people/Ti26E31DSxxx> in PDF Language and Specifications - View the full discussion<http://forums.adobe.com/message/4005459#4005459

  • FRM-47001: Cannot create parameter list aamir : list with this name exists.

    Sir I use parameter list in my form whose name aamir first time when I call report system give result right but second time I call report then system give this error
    FRM-47001: Cannot create parameter list aamir : list with this name exists.
    Please give me idea how I get print view second time
    Thank
    aamir

    Hello aamir,
    Use the following to delete existing parameter.
    DECLARE pl_id ParamList;
    BEGIN
    pl_id := Get_Parameter_List('tempdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List(pl_id);
    END IF;
    END;
    Cheers,
    Suresh

  • How to fill depended Z-Table, created by Rapid Application Tool, with initial data?

    Hello gurus,
    I created a component ZBOOKING with RAD Tool and will fill booking detail table with initial data during a creation of new booking objekt.
    My Booking component looks like on the picture below. It was created with Rapid Application Tool and is based on one ZBOOKING Table with was created in CRM Backend and one “Booking details” Table with was created with Rapid Application.
    My Question is how should I populate initial Template-Data to this dependent “booking details” Table wenn I will create a new booking object.
    Web UI of ZBooking component
    Component structure of ZBooking
    I have tried to do sample implementation in do_init_context method of ZACL_CLASS00000C_IMPL class to fill ZBOOKING_DETAILS with some data.
    method DO_INIT_CONTEXT.
    CALL METHOD SUPER->DO_INIT_CONTEXT.
    DATA: lr_col TYPE REF TO if_bol_bo_col,
    lr_valuenode TYPE REF TO  cl_bsp_wd_value_node,
    lr_template  TYPE REF TO  ZBOOKING_DETAIL.
    CREATE DATA lr_template.
    CREATE OBJECT lr_valuenode
    EXPORTING
    IV_DATA_REF = lr_template.
    if lr_valuenode is BOUND.
    lr_valuenode->SET_PROPERTY_AS_STRING(
    iv_attr_name = 'ZZVISITDATE' "#EC NOTEXT
    iv_value     = '01.01.2014'
    ENDIF.
    CREATE OBJECT lr_col TYPE cl_crm_bol_bo_col.
    lr_col->ADD(
    exporting
    iv_entity = lr_entity
    IV_SET_FOCUS = ABAP_TRUE
    me->TYPED_CONTEXT->ZBOOKING_DETAIL->SET_COLLECTION( lr_col ).
    endmethod.
    After this implementation the initial data is displayed in “Booking details”.
    However if I press an Edit-List-button (Assignment block) I get an error “CUST Operation”.
    May be I should fill this depented table ZBOOKING_DETAILS without cl_bsp_wd_value_node?
    Where should I implement logic if I want to fill initial data just during creation of booking object and not every
    time when the booking object is called or initialized?
    Regards Dmitry

    Hi,
    I get an error "Dereferencing of the NULL reference" during created_related_entity.
    If you see on the picture below I think that I use right relation name for my zbooking_detail table.
    method DO_INIT_CONTEXT.
    CALL METHOD SUPER->DO_INIT_CONTEXT.
    data :   lr_leading_entity  TYPE REF TO cl_crm_bol_entity,
                lr_col TYPE REF TO if_bol_bo_col.
               lr_leading_entity->create_related_entity(
                      iv_relation_name = 'ZAET_CA_ATAB000000' ).
               lr_leading_entity->SET_PROPERTY_AS_STRING(
                           iv_attr_name = 'ZZVISITDATE' "#EC NOTEXT
                           iv_value     = '01.01.2014'
    lr_col->ADD(
       exporting
         iv_entity = lr_leading_entity
         IV_SET_FOCUS = ABAP_TRUE
    me->TYPED_CONTEXT->ZBOOKING_DETAIL->SET_COLLECTION( lr_col ).
    endmethod.
    Many Thanks & Regards,
    Dmitry

  • How to apply Static IP address without disabling data plan

    Our Network team does not want to open all ports on a server mobile staff needs to access.  We ordered static IP addresses and entered them on the firewall so they can specificall access.  Once the IP address is added to the iPad - the data plan is disabled.

    I have just tried giving my iPhone's WiFi a static IP address and it did not stop the cellular data from working.
    I probably misunderstand your problem.
    I presume by a static address you meant the WiFi, was this a company internal IP address or an external one?
    There could be differences between the iPhone and the iPad in how it handles this situation, my iPad is WiFi only so I could not test this.
    If you get no other suggestions on the forum I suggest a visit to Appe store if possible or a phone call to Apple. If you are not under Apple Care there may be a charge for the telephone support but may save a lot of hassle. The option is to ask your Data plan provider.
    Sorry I can offer no other suggestions.

  • Creating a dynamic nested menu with xml data received from a webservice

    I need to create a dynamic menu based on a xml returned by a webservice.
    the xml comes basically in this format:
    [quote]
    <resposta>
        <status>Success</status>
        <mensagem>Whatever</mensagem>
        <dados>
            <projeto nome="name" cliente="client name">
                <atividade nome="name">
                    <etapa>
                        <nome>name</nome>
                         <other_attributes>...</other_attributes>
                    </etapa>
                    (other etapas)
                 </atividade>
                 (other atividades)
            </projeto>
            (other projetos)
        </dados>
    </resposta>
    [/quote]
    What I need is to create a menu like:
    - Projeto.Nome - Projeto.Cliente:
        - Atividade.nome:
            (start button) etapa1
            (start button) etapa2
    - Projeto2.Nome - Projeto2.Cliente:
        - Atividade.nome:
            (start button) etapa1
            (start button) etapa2
    And so on...
    I've tried using an HTTPService and a DataGroup, this code above works fine for  display the projeto's names:
    [quote]
    <s:HTTPService id="loginService"
                            url="http://timesheet.infinitech.local/services"
                            method="POST" contentType="application/xml"
                            result="handleLoginResult();"
                            fault="handleFault(event);" >
                            <s:request xmlns="">
                                <requisicao>
                                    <tipo>login</tipo>
                                    <usuario>{campoUsuario.text}</usuario>
                                    <senha>{campoSenha.text}</senha>
                    </requisicao>
                </s:request>
    </s:HTTPService>
    and the DataGroup:
    <s:DataGroup dataProvider="{tarefasService.lastResult.resposta.dados.projeto}" width="100%" y="100" x="20"
                         includeIn="Principal">
                <s:layout>
                    <s:VerticalLayout />
                </s:layout>
                <s:itemRenderer>
                    <fx:Component>
                        <s:ItemRenderer>
                            <s:layout>
                                <s:HorizontalLayout />
                            </s:layout>
                            <s:Button />
                            <s:Label text="{data.nome}" />
                        </s:ItemRenderer>
                    </fx:Component>
                </s:itemRenderer>
            </s:DataGroup>
    [/quote]
    I have then tried including another datagroup inside the datagroup item renderer, but I just couldn't get it to work anyway, and tried it in a lot of ways... (basically, it would be a datagroup with dataProvider={data.atividade}).
    Can anyone tell me how to get this to work?
    I've uploaded an example xml, you can use it as the url for the HTTPService:
    http://www.pdinfo.com.br/example.xml
    Thanks in advance.

    Hi,
    A lot of the information you need is in Adobe's scripting guide http://www.adobe.com/go/learn_lc_scriptingReference  Also there is a very useful Adobe guide to Calculations and Scripts (and while it is for version 6 it is still very good because of the way it is laid out) http://partners.adobe.com/public/developer/en/tips/CalcScripts.pdf
    The Javascript could be used in the Layout: Ready event.
    For italic font:
    if (...some test...)
         this.font.posture = "italic";
    else
         this.font.posture = "normal";
    For bold font:
    if (...some test...)
         this.font.weight = "bold";
    else
         this.font.weight = "normal";
    The script will change the font for the complete field. I don't think you can change parts of a field.You can also change font colour and font type (the guides above will help).
    Good luck,
    Niall

  • How do create a new email address with my iCloud account

    This may be simple but as usual with these things you usually do it once and never have to do it again!
    I have has my mac mail address @mac.com since idisk was launched and then added a family pack with addresses for my kids and wife and when icloud launched i migrated all the addresses with no problem - but one of my clients wants me to create a new @mac (or @me.com) email address specifically for my invoices to send to there on line accounts system - my question is how do create a new email address for free in icloud - is it possible?
    I remember the family pack gave you additinal options to create up to 5 email adresses?  T
    Thanks in advance - Allister in Scotland UK
    Message was edited by: Allister Gourlay

    Allister Gourlay wrote:
    My client wants me to test there online invoice system that will go online next year when i and a few long terms suppliers will upload our invoices that will match with purchase orders as a test.
    and instead of using my present mac mail email address they want me to use a prefix they have allocated to me
    This is the issue. They are telling you to get a specific email address.
    If this address is already taken, then what?
    Roger thank you that was the info i needed
    FYI: My first post was a link to -> iCloud: Create or change email aliases

  • Reading ams word doc and creating another ms word doc with this same data

    I have a ms word doc and i hav to create different word docs from it with different name.The docs will contain the same data as the mother document but some cases,some strings will be replaced by some new strings for each document to be created.plz help me out.
    File ReadDocFileInput = new File(inFilePath + "APX-DBEST.DOC");
    BufferedReader readXML = new BufferedReader(new InputStreamReader(new FileInputStream(outFile)));
              String FirstTag = null;
              String writeIntoDoc = null;
              String writeTagName = null;
              String writeTagSTEPName = null;
              File WriteDocFileOutput = new File(inFilePath + "APX-DBEST-" + writeTagName + ".RTF");
              BufferedReader fis = new BufferedReader(new InputStreamReader(
                        new FileInputStream(ReadDocFileInput)));
              //FileInputStream fis = new FileInputStream(ReadDocFileInput);
              //FileOutputStream fos = new FileOutputStream(WriteDocFileOutput);
              PrintWriter fos = new PrintWriter(new FileOutputStream(WriteDocFileOutput) );
              //int i =0;
              //char ch;
              while((writeIntoDoc = fis.readLine())!=null){
                   //ch = (char)i;
                   fos.write(writeIntoDoc);
              fis.close();
              fos.close();
              //WriteDocFileOutput.renameTo(new File(inFilePath + "APX-DBEST-" + writeTagName + ".DOC"));
    this is the code i hav written...anything wrong in it?...it does not working.

    I didn't read your code. But if you want to copy a file, commons has a neat tool for it:
    import org.apache.commons.io.IOUtils;
    import java.io.*;
    class CommonsFileCopy {
        public static void main(String[] args) {
            String fIn = "CommonsFileCopy.java";
            String fOut = "(copy) CommonsFileCopy.java";
            try {
                InputStream inStream = new BufferedInputStream(new FileInputStream(fIn));
                OutputStream outStream = new FileOutputStream(new File(fOut));
                IOUtils.copy(inStream, outStream);
                System.out.println("Copied \""+fIn+"\" to \""+fOut+"\" successful");
            catch(IOException ioe) { ioe.printStackTrace(); }
    }

  • How do I create multiple-up pages populated with variable data?

    I am trying to create a variable data Illustrator file but with a catch, I have to create multiple points of data on one artboard.  I am using a template with 36 identical shapes, and I'm trying to add a different image to each based off of using variable data.  I understand the premise of creating multiple output files based off of an illustrator file and data, but I have to create a single output file using 36 points of data, all QR codes.  The reason is that this 36-up 14.5" x 14.5" sheet will be printed on a large format inkjet and then be fed into another machine (not a cutter) that requires that specific layout for it's process.  I cannot create individual files, I need sheets based off of my 14.5" x 14.5" 36-up template.
    Any suggestions other than making each shape in the template a separate variable (even though they are all the exact same shape) would be greatly appreciated.
    My goal is to populate each of these shapes with a different QR code and then output the whole sheet as a single .EPS or .PDF file.

    My goal is to populate each of these shapes with a different QR code and then output the whole sheet as a single .EPS or .PDF file.
    You're barking up the wrong tree for this with Illustrator's Variables palette.
    Think of it like this:
    Imagine a typical spreadsheet with multiple rows of the same kind of data, except for the first row which serves as the "labels" of the columns.
    The on-page objects which you define as Variables in Illustrator correspond to the first row; the column labels.
    The datasets correspond to the following rows of values below the label row.
    Cycling through the datasets simply moves up and down the rows, revealing one row's data at a time for each of the column labels.
    Your multi-up array does not fit that data model. You are essentially trying to make a layout showing all the individual cells below the single label of one column (downward across all rows). (Illustrator's Variables feature doesn't even let you put multiple instances of a single variable in the document, so that the same value occurs in multiple places.)
    You're trying to build the functional equivalent of a typical "gang up" press sheet, like a 10-up layout of business cards, each showing the same kind of data (name, phone, etc.) for multiple employees, so that you don't have to do separate press runs for each employee. That's certainly a common need, and one quite appropriate to a program like Illustrator. But Illustrator's Variables feature does not do that.
    Essentially, what you are wanting to do is to replicate the basic functionality of any program which is used to print labels from data (like the typical mail merge function for address labels which are ganged up with some number of different labels on a page). What you want could be done in Illustrator via a custom JavaScript, but it would be a pretty silly exercise in reinventing the wheel. If it were me, I'd probably build the solution in FileMaker Pro (a database program), depending on the specific graphics requirements. However, you should be able to do it in InDesign, using its data merge feature.
    JET

  • Can some one help me with this date stuff

    Hello,
    I wat to write a method that will take a date or a month and then return the time period
    b4 that date or month..criteria would be like this..
    if the pweriod is weekly then the enddate will be passed and it should return date that was 7 days
    prior to the enddate. For e.g
    enddate = 3 April 2002
    the method should return
    begindate = 27 March 2002
    here is the method I am trying to work with...
    what I am doing do far is a break down the date into integer values and then reconstruct the date again
    ...I am not being successful doing so..please take a look at my code and tell me what am I doing wrong
    thanks
    public static Date getBiginingOfPeriodDate(Date endDate){
    Date beginDate = null;
    Calendar calendar = Calendar.getInstance();
    System.out.println("Date passed = "+endDate);
    calendar.setTime(endDate);
    int iDay = calendar.get(Calendar.DAY_OF_MONTH);
    int iMon = calendar.get(Calendar.MONTH);
    int iYr = calendar.get(Calendar.YEAR);
    System.out.println("End date int values [ "+iDay+", "+iMon+", "+iYr);
    calendar.set(iDay,iMon,iYr);
    System.out.println("create end date from in values [ "+calendar.getTime()+" ]");
    return beginDate;
    }

    If all you want to do is simple date arithmetic, such as subtracting 7 days from a date, just use the java.util.Calendar class, which provides methods (such as add) to do that for you. Don't "reinvent the wheel".

  • How to Create a Table in Oracle with XML data type.

    Dear ALL,
    What are the requirements for creating a table with xml datatype in Oracle: The steps would help very much to know the scripting of the table and how to query and either insert/update and remove data from that table.
    Any help, direction, advise would be highly appreciated.
    Thanks.

    Reffer to this Note.243554.1.
    In a nut shell you will need to run catqm.sql

  • Creating right/left click scroll with a data list and being able to click indiv.item from data list?

    I've created a data list that contains a photo with text. I'd like to be able to right click the horizontal list instead of a scrolling bar. Could you please direct me on this?
    I'd also like to select each individual box from the scrolling data list and click to their website or to a menu... not sure on how to do that either??
    I've attached an ai file of what i'm trying to achieve.
    Thanks for your help!

    Funny, I was in the middle of writing an article on how to do this. The simple answer is you create a standard scrollbar with all four parts: track, thumb, increment button, and decrement button. Attach it to your data list, then make the opacity of the track and thumb = 0.
    To make each item in your data list do something different, use the interactions panel and add a On Click interaction. You should notice there is an option toward the bottom of that panel to change from "When any item is selected" to "When a specific item is selected". Remember, programmers like to start counting from 0, so your first item in your data list i 0.
    Note: In the attached example on the first two items are selectable.
    Hope this helps,
    Chris Griffith

  • How to create a category/sucategory list with spry data

    I am trying to create a a menu list that looks like this using spry:
    Category Name
    subcategory1
    subcategory2
    subcategory3
    my mysql query is:
    SELECT myp_category_cat.idmnu_cat, myp_category_cat.category_cat, myp_subcat_sct.subcat_sct, myp_subcat_sct.id_sct FROM (myp_category_cat LEFT JOIN myp_subcat_sct ON myp_subcat_sct.idcat_sct=myp_category_cat.id_cat) WHERE myp_category_cat.idmnu_cat=1
    i have ben trying to use xpath filtering but i am getting an error. My datasets look like this:
    var dsCategories = new Spry.Data.XMLDataSet("myincludes/categories.php", "export/row/category", {sortOnLoad: "category", sortOrderOnLoad: "ascending", distinctOnLoad: true});
    var dsList = new Spry.Data.XMLDataSet("myincludes/categories.php", "export/row/subcat");
    now i try to combine like this but getting error:
    <div spry:region="dsCategories" class="SpotlightAndStacked">
      <div spry:repeat="dsCategories dsList" class="SpotlightAndStackedRow">
        <div class="SpotlightContainer">
          <div class="SpotlightColumn"> {category} {subcat} </div>
        </div>
        <br style="clear:both; line-height: 0px" />
      </div>
    </div>
    i am now getting a failed to retrieve dataset. Both dataset work perfectly when not combined.

    You have to declare all your SPRY Datasets in the region:
    div spry:region="dsCategories dsList" class="SpotlightAndStacked">
    Kevin

  • Create a folder or file with the DATE as name?

    I am finalizing a backup routine that involves a couple of Time Machine backups, a couple of Clones (backs up once a week or once a month) and a couple of "manual" backups that I store off-site.
    Right now I have a txt file that I keep in my Home Folder with a underscore so that it shows up at the top of my Home Folder where I manually change the date so I can check that I have a current backup and/or I can know how current the backup is ("_20111126.txt" for today). Right now, between the Time Machine, the Clones and the "regular" backups I am not sure how to do this really easy in any other way.
    Today I realized that I would find it uber helpful to have a file that did this in an automated manner every day since I got into Time Machine to check this backup and the file is the same name for weeks at a time since I rarely change it.
    Is there a way to do this in an automated manner or in a way that is as visually immediate as this method?
    TIA for any help.

    hotwheels 22 wrote:
    i just want to have a file or a folder that always has the current date in the name so that when i see it in my documents or desktop on the backup i know that the backup ran successfully. does this make sense?
    Not to me. What if the renaming script works, but the backup fails? What if the backup works, but the renaming script fails?
    You should use a proper backup application. Such an application should keep a log and should provide proper notification of the results of the backup
    are you saying that there is some method to do this with software called "Chron" or with iCal?
    I'm saying that, if you want to run a script daily or on some specified date, the way to do it is with cron (without the h, sorry for the typo) or iCal.
    In fact, Apple says that one should use launchd instead of cron, but cron is still supported. Cron jobs are set with crontab, and there are plenty of examples and instructions on how to use it, as well as some GUIs for it.
    As to iCal, it's simply a matter of choosing to Run Script as an alarm for an event. (It's in the iCal help.)
    Here
    <http://superuser.com/questions/126907/how-can-i-get-a-script-to-run-every-day-on -mac-os-x>
    you'll find a succinct discussion of cron, launchd, and iCal, and links to more info on accomplishing this task.

  • Plz help me with this data insertion code

    Hi,
    I am listing a code below ,I am able to insert only one row of value.
    Then i get SQLException.General Exception and a Lock record MSAccess file is generated where .mdb file is stored.
    public void throwtodatabase()
    String gameid;
    ResultSet rs=null;
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con;
    con=DriverManager.getConnection ("jdbc:odbc:MyData","","");
    Statement stat3=con.createStatement();
    rs=stat3.executeQuery("select * from sudoko");
    while (rs.next()) {
    pctr=pctr+1;
    stat3.close();
    con.close();
    catch(Exception g)
    JFrame ob2=new JFrame();
    JOptionPane.showMessageDialog(ob2,g.toString(), "Message", JOptionPane.INFORMATION_MESSAGE);
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con;
    con=DriverManager.getConnection ("jdbc:odbc:MyData","","");
    gameid="G00"+String.valueOf(pctr);
    PreparedStatement stat=null;
    for (int t1=1;t1<=9;t1++) {
    for (int t2=1;t2<=9;t2++) {
    stat=con.prepareStatement("Insert into Sudoko(gameid,row,col,val) values(?,?,?,?)");
    stat.setString(1,gameid);
    stat.setString(2,String.valueOf(t1));
    stat.setString(3,String.valueOf(t2));
    stat.setString(4,String.valueOf(array_map[t1][t2]));
    stat.execute();
    con.close();
    catch(Exception xd)
    JFrame ob2=new JFrame();
    JOptionPane.showMessageDialog(ob2,xd.toString(), "Message", JOptionPane.INFORMATION_MESSAGE);
    }Plz help.Thanx in advance.

    Have this stacktrace
    java.sql.SQLException: General error
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.SQLExecute(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcPreparedStatement.execute(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcPreparedStatement.executeUpdate(Unknown Source)
    at Sudoko.throwtodatabase(Sudoko.java:1120)
    at Sudoko.generate_random_boards(Sudoko.java:1064)
    at Sudoko.actionPerformed(Sudoko.java:205)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
    n Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
    ce)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

Maybe you are looking for