How to schedule with absolute time

Hello,
How can you schedule a task to execute at 4:35 p.m (according with the system's clock) every day.
There are two classes that permit to schedule periodic tasks specifying the initial time and the period or delay for subsequent executions.
These classes are:
java.util.Timer
java.util.concurrent.ScheduledExecutorService
I could use these classes with an appropriated initial delay and a delay of 24 hours.
But if the system time changes, there will be trouble:
Example 1: if the system time changes because the Daylight Save Time rules, the task will not be executed at 4:35 p.m (system's time).
Example 2: if some person changes the system time, the task will not be executed at 4:35 p.m.
Some suggestions?
Thanks.

JoseLuis wrote:Hello,
How can you schedule a task to execute at 4:35 p.m (according with the system's clock) every day.Are you saying that the task needs to be executed at 4:35pm everyday even if the DST has kicked in? Or do you mean after DST kicks in, the task should be executed at the time 5:35pm (in relation to the time before DST)?
Example 1: if the system time changes because the Daylight Save Time rules, the task will not be executed at 4:35 p.m (system's time).
Example 2: if some person changes the system time, the task will not be executed at 4:35 p.m.
Some suggestions?
Thanks.You can synchronize time on a machine to get updated with the world clock. Double click on clock at the bottom of your screen.
Unfortunately, I am not an admin on my machine right now to give you the specifics.

Similar Messages

  • How to update the absolute time value in waveform chart for labview 6i?

    Hey there,
    I'm developing a control system using labview 6i on win 2000 os.I'm receiving the sensor data every minute and i want to display the data on a waveform chart with absolute time scale on x-axes. I'm using the property nodes for the offset, multiplier and maximum values putting them outside the while loop and giving them input using get date/time in seconds function. the problem is that the time doesn't gets updated w/ refernce to the computer time and after a certain period the time shown on x-axes lags by several hours. any advise?

    Posting an example ussually help us nail these types of issues fast.
    I am therfore forced to guess.
    Do you have your code written such that the scale operations occur before the loop?
    The next thing I have to suspect (not being able to see your code) is if your dt is correct. If your dt is larger than what the chart is set for, then the time will fall behind.
    I have included an image showing how the chart can be used to show multiple sample rate plots such that the t0 of the readings are used to control how the readings are displayed. This example uses waveform data types (I believe they were available back in 6i). It should serve as a guide to do what you want.
    I suggest you start by recreating the demo and play with it until you have what
    you will need in your app.
    The beauty of this method is it lets you use the chart to plot signals acquired at different frequecies and plot them all together.
    reply to this answer if you have questions,
    Ben
    Ben Rayner
    Certified LabVIEW Developer
    www.DSAutomation.com
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Wform_demo.bmp ‏427 KB

  • [svn:osmf:] 15680: This submission tries to address a bug with absolute time support.

    Revision: 15680
    Revision: 15680
    Author:   [email protected]
    Date:     2010-04-23 16:36:42 -0700 (Fri, 23 Apr 2010)
    Log Message:
    This submission tries to address a bug with absolute time support. As a result, it fixes a bunch of bugs as follows:
    FM-765, FM-766, FM-776, FM-777, FM-778, FM-779, FM-780
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-765
        http://bugs.adobe.com/jira/browse/FM-766
        http://bugs.adobe.com/jira/browse/FM-776
        http://bugs.adobe.com/jira/browse/FM-777
        http://bugs.adobe.com/jira/browse/FM-778
        http://bugs.adobe.com/jira/browse/FM-779
        http://bugs.adobe.com/jira/browse/FM-780
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/f4mClasses/DVRInfo.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/HTTPNetStream.as
        osmf/trunk/framework/OSMF/org/osmf/net/httpstreaming/f4f/HTTPStreamingF4FIndexHandler.as

    Have done.... I had also sent a copy of the AB database to support on another case using Snow Leopard.  I had hoped it was fixed in Lion.

  • How to report with different time zone dynamically based on user's account?

    Hello
    I am wondering is there a way to change the report's date & time data based on user's locale setting in OBIEE?
    Let's say the user log in to OBIEE with eastern time zone setting. The data that's in the database is storing a transaction of $400 at 1am Pacific time.
    So when this user run a query which does something like 'select date, transaction, amount from date, transaction, sales where this = that', it should display the $400 amount done at 4am eastern time instead of 1am pst.
    What I have done is to have data stores in date dimension to be UTC time, and I have also changed the data type of the date column to be 'local time zone'. DB is Oracle DB 11G now.
    Now this query works perfectly well in the DB as long as I run the following commend first:
    Alter session set time zone = 'whatever my time zone'
    and then
    Select date, transaction from tables..
    The date displayed will automatically be converted into different time zone..
    Since everything is working nicely from Oracle DB level, I need to know how to make it work when OBIEE sends the same query down to the DB..
    I know that, probably I will have to enter the above alter session commend in the connection pool, however, I can't hardcode the time zone value.
    I also don't want to store user's time zone in the user table because these users travels a lot. So even if his table setting is EST, but at a given day he can be traveling to pst time zone and view reports.
    Is there a way to dynamically set the time zone based on user's account locale setting?
    Let me know if you guys have implemented something similar or not
    Thanks

    garuda wrote:
    Hello Sarvan
    I have already done that part at the DB level and it is working perfectly with alter session commend before the query.
    My question is, how do I configure OBIEE so that before each user runs a report from BI, the alter session commend will be fired with each user's personal locale time zone setting passed through so that each user will be able to view data according to their different time zone?did you tried with Connection scripts(Execute On connect) in Connection pool.write ur Alter commend to Change Time Zone in this script box.

  • Prob with absolute time

    Hii everyone....
    I have some questions to ask to u guys...firstly, I'm using serial comm to interface data into labview...There is no prob for configuration...but I have 2 mistakes here.1stly, refer to my table.PNG...I build the table using build table express...so..I enabled the date time.When I run the prog...the date/time didn't fuction anymore...It seems like its stuck with the first read...so...i have tried to open the front panel of the build table express to modify n try to put time stamp..but I think that there is no need to replace it because it had Gate waveform time array.vi already...I tried the other basic simulation to confirm it...but the date from table will run also after I start to run the other prog.
    And the other mistake about write to measurement file..the situation was same as above that I tried to show the elapsed time or fractional seconds in the text file at the left side...but it did not happened.that means the fractional seconds always shown as 0.0000 till the target time...
    And my last question it...How can I put a gauge and link with the waveform?because here I can't link this gauge icon with the waveform...and lastly,How could I change universal time format of x-axis from the waveform to current time...thank u very much...
    Attachments:
    text file.PNG ‏32 KB
    IIOA test45.vi ‏188 KB
    table.PNG ‏57 KB

    oh...i'm sorry dennis..i almost forget these thing.Here, I attached my vi n PNG file. Actually I put the gauges 4 my data from my waveform.I think it can be linked with signal without any prob.So, I didn't know that this function just a scalar input. So refer to my table2 PNG. the date / time did not run properly n stuck with the first time/date data...thank u very much
    Attachments:
    IIOA test518.vi ‏247 KB
    table21.PNG ‏35 KB

  • Plot data with absolute time

    Why is it that when I plot an array of data to a wavechart and changed the time (x axis) to absolute time, it always display 12/31/1903? Thanks,

    Have some patience, most people don't necessarily rush to the internet on the weekend.
    To answer your question, LV's time data is represented by the complete number of seconds that have passed since 01/01/1904 00:00 GMT. That means that the number 0, timewise, is that time. Since you are west of Greenwich, you get december 03.
    You need to set the starting time for your chart as the current time. You may also need to set the space between each 2 points you plot to the chart. You need to create a property node. Right click on the control or the terminal and select Create>>Property Node. Then, Find the X-Scale>>Offset & Multiplier properties. These set what you need. For offset you should set the current time when you start (use To DBL to convert) and for multiplier the plotting loop speed in seconds (100 ms is 0.1).
    Try to take over the world!

  • How to synchronize with internet time server automatically?

    Our 2008 R2's clock gets 1 or 2 minutes ahead every week.  We have to go to the Internet Time Settings dialog box to click "Update now" to do the sync and it always works.  Is there any trick to get the automatic synchronization work?
     What is the sync schedule?  It can't be once per month, can it?
    Hong

    Try this:
    w32tm /config /manualpeerlist:TimeServerFQDNorIPAddress,0x8 /syncfromflags:MANUAL /reliable:yes
    w32tm /config /update
    net stop w32time
    net start w32time
    w32tm /resync
    Regards,
    Rafic
    If you found this post helpful, please give it a "Helpful" vote.
    If it answered your question, remember to mark it as an "Answer".
    This posting is provided "AS IS" with no warranties and confers no rights! Always test ANY suggestion in a test environment before implementing!

  • How does schedule with RESTful API a Webi report for a group of users ("Schedule For" to "Schedule for specified users and user groups" with one or more users/groups)?

    SAB BO 4.1 SP1
    Does it have an RESTful API to schedule a Webi report with the parameter to specify a group of users ("Schedule For" to "Schedule for specified users and user groups" with one or more users/groups)?

    Hello Ricardo,
    have you try a call like this one ?
        <schedule>
          <name>"test"</name>"
          <format type=\"webi\"/>
          <destination>
            <inbox>
             <to>userId1,userId2,userId3,groupId1,groupId12</to>
            </inbox>
          </destination>
        </schedule>
    Regards
    Stephane

  • Plot numeric waveform with absolute time

    Hi all,
    This code was working with Labview 2009, but it doesn't seems to work with 2010, do I make something wrong ?
    Regards,
    V-F
    Attachments:
    waveform graph.png ‏29 KB

    Hi ramses64,
    I set up a complete new system.
    Then I first installed LabVIEW 2009 (without any Patch)
    ==> See Screenshot "LV2009_Test.jpg"
    Afterwards I installed F3 patch
    ==> See Screenshot "PatchF3 Update.jpg"
    At least I tested your example with LabVIEW 2009 F3
    ==> See Screenshot "LV2009F3_Test.jpg"
    Somehow it doesn't work.
    Because of that, I can't go to R&D and show them that behaviour.
    Regards
    Dippi
    Attachments:
    LV2009_Test.jpg ‏153 KB
    PatchF3 Update.jpg ‏170 KB
    LV2009F3_Test.jpg ‏155 KB

  • How do you add the absolute time and date to a spreadshee​t file?

    I am creating a spreadsheet file, and I want to write the absolute time and date to its first column. Does anybody know how to do this?
    Thank You,

    BrianL answer is still valid !
    Attached is an example file with an express vi configured to use the absolute time generated from a get time/date node.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Save with absolute time.vi ‏135 KB

  • Definate absolute time chart

    I am trying to make a chart of temperature values with absolute time. First, the timing seems to be a little off and second, I would like to display an hour of data and then have it write over itself so it is always displaying the last hour of data. It would be nice to be able to scroll through a day or two of data, but not neccessary. I have attached my code from Labview 2010. Could you please help me modify my code to do this? Thank you in advance for your help.
    Solved!
    Go to Solution.
    Attachments:
    Temp_Graph_Not_Working.vi ‏14 KB

    Hi danjneff,
    how do I make it clear the chart history each time I start the program?
    Use the history property node.
    This is explained in an example VI to be found in the example finder…
    I am pretty new with LabVIEW so don't understand your answer to the x-axis question
    Again: as you are new to labVIEW you should take all those FREE online courses offered by NI on their website!
    Would it be easier for me to use a graph?
    Easier: not really.
    Getting better results: yes.
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • DST setting for absolute time in waveform graph

    I am using a waveform graph to display some pre-recorded data, with absolute time on the X-axis.
    If the time period of the data includes the point at which daylight savings time changes, then this comes out correct on the X-axis i.e. there is a one hour jump in time on the X scale.
    But this is only correct if the data is recorded in the same time zone with the same DST settings as the computer used to display the data. If I am viewing data that was recorded in another country, the time on the X scale can come out wrong.
    Is there any way to get the graph to ignore the DST setting, so that I don't get the one-hour jump on the X scale?

    Hi Scott,
    Thanks for your suggestions.
    I actually prefer relative time, but other users wanted absolute time so that is why I put it in.
    Most of the time it is not going to be a problem - the data is usually analysed by the same people who recorded it, so the times will always come out correct.
    But we do have collaborations with people in other countries and swap data files back and forth, so it could get connfusing if the times come out different in different countries.
    It would be nice if I could somehow tell the graph what timezone the data was recorded in, and it would display the time correct for that timezone. This would save me from having to change the timezone setting on my computer all the time. But in the mean time, that is what I'll do.
    Many thanks,
    Mark.

  • How to schedule same job in particular time

    Hi all ,
    there is one job that needs to be scheduled no of time in day.
    Please let me know how to schedule .
    Thanks&Regards,
    Ravi

    Hi,
    Create an event in SM62.
    Use FM BP_RAISE_EVENT in your code.
    In its import parameters mention the eventid and parameter.
    You job must be scheduled to execute after event.
    This you can define in the start condition of the job in SM36.
    You can put the AABAP logic based on which it could raise the event 5 times in the day.
    If you are ok to start the job after every 4 hours, you can created the job in sm36 with periodicity as 4 in other period tab in data and time tab in start condition for the job in SM36.
    Regards,
    sunmit.

  • How to consider the startup time of heattreatment furnace  in scheduling

    Dear All,
    How to consider the startup time of heattreatment furnace  in scheduling.
    With regards,
    Pradeep Bhardwaj

    Hi,
      Check up with the foll. formula where the set up time is included during MRP calculations:
    [Heat Treatment formula|http://help.sap.com/saphelp_47x200/helpdata/en/b1/c03921439a11d189410000e829fbbd/content.htm]
    Hope this will help for your requirement..
    -Thaila Shree

  • Scheduling Gantt: How to work with the "zoom-to-fit" drop-down

    I'm trying to figure out how to work with the "zoom-to-fit" drop-down on the scheduling Gantt dvt control. It has choices in the drop-down that are not appropriate for my project. The documented purpose of this drop-down is to allow the user to zoom to a level that would allow a certain time range to "fit" within the current window. The choices start at "1 Week" and go up through "2 Weeks", "1 Month" etc. The problem is that the projects I'm displaying are generally just a couple of days long, and consist of many small tasks. So even 1 Week is too big. Also, no matter what I pick in this drop down, nothing happens.
    So my questions are these:
    1. Can I change the choices in this drop-down? If so, how do I do that?
    2. If not, then how can I remove this drop-down? (I figure I probably can if I disable "zoom", but I don't want to do that.)
    3. How do I get this to actually do something? I assume maybe I have to code some listener somewhere, but if so, how do I do that.
    Thanks for any hints, tips and advice!

    Currently, we do not allow customization of zoom-to-fit. Please file an ER. We could add a param to featuresOff attribute to disable/remove zoom-to-fit from the toolbar without disabling/removing zoom.

Maybe you are looking for

  • How to input data into Pdf file

    I am not too sure if I am posting my question in the right forum. I would like to know what version of Adobe acrobat can allow me to create a document, where clients can input data into it? Here is an online example http://www.uscis.gov/files/form/N-

  • Download ALV output to EXCEL

    Hi gurus,    Cany anybody explain what is the procedure to download the alv output to EXCEL sheet? Marks will be awarded Thanks in Advance Ravi

  • Image Sequence Import

    I am trying to open an image sequence with Quicktime Pro. I can open a sequence of 20,000 images, but I can't open a sequence that is 52,000 images. When I try to do this Quicktime just hangs and stops responding OR it opens as a player window with n

  • Errors while uploading BAI2-Bank statement using FF.5

    Hi I am trying to configure EBS-Electronic bank reconciliation using BAI2 file but when I upload a simple sample file that I created it gives me this error: Error: (F5 263) The difference is too large for clearing and Error: (GLT2 201) Balancing fiel

  • Performance_parameters_in 11r2

    Hi , We are planning to migrate from 10.2.0.3 to 11.2.0.2 enterprise . For this we have test setup of oracle 11.2.0.2 and we tried to run the reports(selects) on this new server. But reports on 11R2 are taking long time than existing 10.2.0.3 reports