Timer Vs Delay

I'm nearing the end of a proof of concept project, and a teammate and I have been working on two separate custom workflows both which are required to run once a week continuously after start up. After dealing with the known issue with delays, my partner
found information about the timer delay that can be set programmatically. With the top search result for 'delay vs timer SharepPoint 2010' not returning substantial results as far as best practices, I came here.
In the business environment, for a weekly occurring workflow, is it better to use a delay action or a timer job?
Thanks for your advice everyone!

Hi,
If it is a workflow, then I would go for workflow delay action. Rational for this approach is everything is on the site, I just need to use designer (if you wrkflw is designer based) and don't need to depend on Farm administrators.
second reason is debugging, if there is any issue in Timer job, again it is very cumbersome to get the log and starting/stoping the timer job.
third reason is it is much easier to create a workflow to run on specific time, little tricky though.
Hope this helps!
Ram - SharePoint Architect
Blog - SharePointDeveloper.in
Please vote or mark your question answered, if my reply helps you

Similar Messages

  • Time is delayed by 10 minutes when you use Automatically Date & Time

    Time is delayed by 10 minutes when you use Automatically Date & Time in France

    It is not carrier as all my Apple products where up to 10 minutes fast. I had to reset each product to the correct time. I'm in New Zealand.

  • UCCX- adjust abandoned call time or delay

    Hello all....
    I'm very new and green to UCCX- version 8.5.1 . I have a colleague here looking to adjust the time or delay for when an incoming call to our queue is deemed abandoned. Apparently our wallboard is showing an abandoned call very quickly wo giving an agent time to answer the call. Is there a parameter that can be adjusted for this purpose? I googled a bit, but no significant help.
    Thanks in advance ....Dennis

    Hi Dennis
    There's no parameter in UCCX.
    The typical approaches to this are:
    - For historical reporting, discount calls that abandon within x seconds as listed on the CSQ Call Distribution report. Alternatively, create a custom report that does this automatically.
    - For a wallboard, you would need to have a wallboard that could be customised similarly. CCX puts the stats (including abandon count) per CSQ in the 'realtime' CSQ table designed to be used by wallboards. You would need to bypass this and use a custom query against the historical tables to get such a calculation.
    Regards
    Aaron

  • Change Timer Class Delay time

    Is it possible to update the Timer Class Delay time while it
    is running. I want to update it using the slider component however
    it doesn't seem to update. I even stop the timer on the THUMB_PRESS
    event of the slider that restart it after it is changed. Doesn't
    seem to work that way either. Any Ideas?

    I figured it out. Instead of setting a variable speed in the
    event handler function for the slider I direclty changed the timer
    delay variable to equal the slider value. I feel dumb now but it
    works great.

  • Como crear un time on delay

    Como puedo crear un Time on Delay sin que me tome mucha memoria en la programacion, he tratado de usar el "Wait y On Delay" pero se toma el mismo tiempo cuando se activa y desactiva, alguien puede orientarme?
    Gracias..

    Hola Coquinho,
    Perdona, pero creo que no logro entender completamente tu situación. Al hablar de memoria imagino que te refieres a los recursos del CPU que se utilizan para procesar las funciones, ¿correcto?.
    Antes que nada te explico un poco sobre la función "Wait (ms)" ya que te puede ser útil para tu implementación, al utilizarla y especificar los milisegundos que deseamos esperar, LabVIEW ejecutará las funciones que se encuentren en paralelo (debido al flujo de datos), es decir, estarás ejecutando y esperando a la vez, sin embargo una vez que todas las funciones en paralelo se han ejecutado, los recursos del procesador se liberarán hasta que el se esperen los milisegundos que le especificamos al "Wait (ms)". Por ejemplo, si un código tarda 5 milisegundos en ejecutarse y colocaste un "Wait (ms)" con un tiempo definido de 1000 milisegundos, dejarás 950 milisegundos sin que utilicemos recursos del procesador. Tal vez en tu aplicación te convenga más detectar si el código que ejecutas paralelamente al "Wait (ms)" te está afectando.
    Sobre el "Timer On Delay", puedes utilizar un Flat Sequence Structure con un timer en el primer frame y una salida booleana en el segundo frame.
    Te dejo algunos links con información adicional que te puede ser útil:
    Sequence Structures: Executing Sections of Code Sequentially:
    http://zone.ni.com/reference/en-XX/help/371361K-01/glang/flat_sequence/
    The Difference between the Wait (ms) Function and the Wait Until Next ms Multiple Function:
    http://digital.ni.com/public.nsf/allkb/12b2ea9ad5b265ad86256257004dd8e2
    Block Diagram Data Flow:
    http://zone.ni.com/reference/en-XX/help/371361K-01/lvconcepts/block_diagram_data_flow/
    Saludos.
    David P.
    National Instruments
    Applications Engineer
    www.ni.com/soporte

  • How to create timer to delay On/Off

    I am currently using the evaluation version of LabView to figure out if LabView is a good choice for an application I would normally use ladder logic for. I am trying to find examples on how to do the following, any advice would be appreciated:
    -Timer for delaying On condition
    -Timer for delaying Off condition
    -Counter
    -Latching circuit

    Hi agon,
    From my experience, the cRIO should definitely be able to do that - though that would of course depends on the specifics of your application. In order to properly evaluate this system, you would likely need hardware. Have you been in contact with your local field sales engineer or inside sales engineer in Austin regarding your interest? If not, feel free to send me a private mesage with contact information (name, e-mail, phone number, company) and I can get one of them to get in touch with you. They would have more information about this, but we could likely set up a demo or something similar so that you can get a good visual feel for how LabVIEW/cRIO works and how it could be scaled up to your application.
    A great resource for now is the cRIO Developers Guide: http://www.ni.com/pdf/products/us/fullcriodevguide.pdf. This discusses high-level benefits of the cRIO's Real-Time OS (namely determinism and thread priority setting) and FPGA (very fast, user customizeable logic, no VHDL programming, parallelism) and then details of how this is implemented in LabVIEW (which may or may not become too low-level depending on how familiar you are with LabVIEW).
    As I touched upon above, evaluating us based on your application description would be difficult without hardware to play around with or see in action. However, the Developers Guide will show you how we communicate with I/O on a RIO and an idea of control code you can implement.
    Rahul B.
    Applications Engineer
    National Instruments

  • Windows XP SP3 and Time Capsule Delayed Write Failed

    I am having difficulty getting my MacBook Pro to back up to my Time Capsule.
    TC is 1TB.
    Works fine with OSX.
    XP SP3 on wireless network allows full internet access and print sharing and also allows very small backups (i.e. one or two documents in a folder) without a problem.
    When I try to do a few folders (let alone a full back up) I get an error - Windows delayed write failed.
    As I can do small backups I think that this rules out a problem communicating with the TC and also any issues with the formatting of the drive (I have left it as it came from apple - although a right click on the drive states FAT32).
    I have a poor work around which is to use Macdrive to mount my OSX disc and backup to that. Reboot into OSX and let time machine take care of the rest.
    Very messy but also rules out a size problem and I suspect that this also rules out any problems with the backup utility (Microsoft XPs own)as I don't get the same error with this "networked" drive
    I have spent some time looking for ways to fix this and the windows support site suggested disabling a cache option under properties if you right click the drive. This option is not available for the TC as properties only give you information on the free space.
    I am now at a loss as to what to do to make this work

    Kappy,
    Thanks for taking to time to reply.
    I don't believe that the TC is FAT32 formated as it is working fine with OSX and I have not formated the drive from how it shipped from apple - which I guess is Mac OS Extended as you described - Have just checked and it is indeed Mac OS Extended (Case-sensitive, Journaled)
    What you suggest with winclone is effectively what I am doing using MacDrive (which allows me to mount the OSX disc in XP and write directly to it).
    Is there not a way to back up straight from XP without going via OSX (the literature on TC would suggest this is possible).
    I had looked at retrospect to use as a backup instead of XPs own but think I will have the same problem with disc caching. It is not that I cannot write to the TC (as I can in small sizes) its just that I get the error delayed write failed if I try to do a full back up.
    Message was edited by: Juan Quirk

  • Time lapsed delayed accounting in Tcode FB50

    Hi!
    I have the following problem:
    If I account the document in Tcode FB50, I cannot see directly the document in Tcode FB03. I am receiving the message "The document not found in year 2007".
    BUT the day after I am getting this document.
    <b>How can I set up this "delayed"/ time lapsed accounting back in order to see immediately the results?
    Is there some parameters/settings responsible for this or some SPRO-settings?</b>
    Thank you very much
    Regards
    Axel

    Hi Axel,
    no, there are no settings behind, it should be there immediately. If it is not, so it is "only" a performance issue. When you press Save, first the usual checks are carried out and if everything is OK, the update procedure (german: Verbucher) is started.
    The update does not only include the creation of your accounting document on the database but there may be some follow-up accounting dcuments created, for example a controlling document, a profit-center document, any number of FI-SL (special purpose ledger) documents, and any number of CO-PA (profitability analysis) line items. All of those to create takes some time, but the delay really should not be that big.
    If you are not able the see the document within, say, 20 seconds, then you should tell this your database administrator so he/she can take some steps to resolve the issue.
    What you should check: if you are using year-dependent number ranges (i.e., doc. number intervals restarting at the beginning of the fiscal year), you have to find the document by specifying the company code, the doc.number AND the fiscal year in FB03.
    If you experience such a long delay, you can check transaction FBN1, pushbutton Status whether the document number was updated already. It should show the last issued number for each interval, so you should find your interval easily (beware the year!!!). If you have gaps of several hours, you may become some gaps in your numbering which may be a legal issue in some countries.
    Hope that helps, points welcome
    Csaba

  • Change time outs / delays on Zen Touch interfa

    I think it would be a good idea if the timings in the interface could be changed...
    How long before the menus exit and go back to the 'Now Playing' screen.
    scroll speed, and how long before text starts scrolling.
    I get the 'Now Playing' screen, before some of the entries have had time to scroll so I can read the title, hence wanting to change the timings.
    It's something that might be possible to put in a future firmware update perhaps?Message Edited by RickDawson on 0-0-2005 07:57 PM

    I completely agree, and something that could be offered across all the players.

  • Time delay between 2 waveforms

    Hi,
    Please bear with me while I explain what I’m trying to do :-)   Basically, in the attached LabView file (“flow vis + trigger-m.vi”), I am generating 2 signals: a sinusoidal waveform (used to drive an actuator) and a square waveform (used as a TTL signal to trigger image capture on a CCD camera). Currently when I run the program using LabView 7, both signals are started simultaneously. I would like to introduce a time delay that can be manually specified in the VI, such that when the program is started (i.e. at time t0), the sinusoidal waveform also starts (i.e. at time t0) before the square waveform (i.e. at time t0 + delay time). In a practical sense, this means allowing the actuator to run for several seconds before capturing any images.
    It sounds like it should be quite straightforward to do, but I’m not so sure how to progress. I have begun to modify the original VI (“flow vis + trigger-m_2.vi”, as attached), but would be much appreciative of any help or suggestions on how I can complete the VI to meet the above requirement.
    Many thanks,
    Mark
    Attachments:
    flow vis + trigger-m.vi ‏939 KB
    flow vis + trigger-m_2.vi ‏895 KB

    Please refer this URL for an example VI I made to solve the problem:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=227603
    Way S.
     NI-UK Applications Engineer

  • Creating a Time Delay Between 2 Waveforms

    Hi,
    Please bear with me while I explain what I’m trying to do :-)   Basically, in the attached LabView file (“flow vis + trigger-m.vi”), I am generating 2 signals: a sinusoidal waveform (used to drive an actuator) and a square waveform (used as a TTL signal to trigger image capture on a CCD camera). Currently when I run the program using LabView 7, both signals are started simultaneously. I would like to introduce a time delay that can be manually specified in the VI, such that when the program is started (i.e. at time t0), the sinusoidal waveform also starts (i.e. at time t0) before the square waveform (i.e. at time t0 + delay time). In a practical sense, this means allowing the actuator to run for several seconds before capturing any images.
    It sounds like it should be quite straightforward to do, but I’m not so sure how to progress. I have begun to modify the original VI (“flow vis + trigger-m_2.vi”, as attached), but would be much appreciative of any help or suggestions on how I can complete the VI to meet the above requirement.
    Many thanks,
    Mark
    Attachments:
    flow vis + trigger-m.vi ‏939 KB
    flow vis + trigger-m_2.vi ‏895 KB

    Hi Mark,
    I forgot that all analog waveforms generated needed to have the same number of samples in a single task. By introducing a delay into your square wave, I effectively added samples that waveform. So the same number of samples added to the square wave has to be added to your sine wave. I added code that extends the number of samples of your sine wave (# delay + square wave samples). Let me know if this works for you.
    Regards
    Way S.
    NI UK Applications Engineer
    Attachments:
    flow vis + trigger-m70.vi ‏872 KB

  • PSE 7+ Sudden Animation Time Delay problem?

    I've been using Photoshop Elements 7+ for a long time now. And I've been able to make animations with it. Such as can bee seen on this url: http://i47.tinypic.com/35iumww.gif I know how to change the Time/Frame delay settings quite fine. But as of today my time delay hasn't been working. This is quite random considering I haven't done any kind of updating or editing to the program in general. When trying to set the time delay to 0.15 and clicking the preview button, I find that my animation is as at the default number's speed, 2. Upon changing the time delay many different times, from 0 to 10 (the min and the max), the animation's speed still doesn't change.  I'm at the end of my rope with this and none of my PSE educationed associates know what could possibly be wrong. I did download two fonts today, but that's it. So unless someone might be able to figure out what's changed, then I might have to try and re-install the program. Something I don't want to do. I have a visual if that's of any help.
    http://i47.tinypic.com/e9w64k.png
    Also, I am using a Mac.

    Which version are you using now? You can't be using PSE 7 on a mac, because there is no PSE 7 for mac. The frame delay problem exists in the mac versions 6 through 10. You can either upgrade to PSE 11 or use a program like the free giffun from stone.com to assemble the gif and set the frame rate.

  • CRIO 9474 Output delay time

    I'm going to use the cRIO 9474 digital output modlule to control a high speed/high current driver. The following data is stated in the manual: Output delay time (full load): 1 μs max. Full load is 1A, the current output for the driver is only 10mA. Is there any chance that output delay time will be longer then 1us with such small load (10mA)? Will there be any jitter? My switching frequency is going to be around 200-300kHz.
    Best regards,
    Per

    Hello Per,
    There is a bit on confusion about the 1μs that we spec on the manual.  That time or delay time is just the time that it takes the signal from the cRIO Backplane to the MOSFET in charge of turning the channel ON or OFF.  That time won't change depending on the load.  That means that the gate will start turning ON or OFF at the same time no matter what the load is.
    What changes is how long it takes for the line or channel to get to the desired voltage value.  That will change depending on the load but shouldn't be too significant.
    We don't spec that because that a value that depend on your load.
    Hope this answers your question.
    Ricardo Santa Olalla
    CompactRIO Product Support Engineer
    National Instruments.

  • Delayed boot time

    My T410s boots up quickly (I have an ssd drive), but then hangs on connecting to my wifi for about a minute or two, during which time the computer is not usable. This has happened in the past, but was fixed with a Lenovo patch, and now the problem has returned. It is especially problematic when I boot up the computer from a new location wherein I have not connected to the wifi previously.
    Any suggestions?

    hey DavidWS,
    as you have mentioned the Lenovo patch did help, and the delay occurs when you try to connect to a different wifi spot...
    is it safe to say the following
    - unit connecting to Area A (first time) = delay
    - unit connecting to Area B (first time) = delay
    - unit connecting to Area A (second time) = no delay
    btw, was any new software installed?
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • Java.util.Timer and java.util.TimerTask running threads problem

    Hi,
    I have following scenario.
    1. My thread to send mail has to run at a fixed time interval thus I am using the following method from the Timer class.
    scheduleAtFixedRate(TimerTask object, start time, interval)
    2. My thread in the class checkDBSendEmail that extends TimerTask class reads database and sends mail based on the data received in the run() method.
    3. Whenever I send any mail, I log it into a database table that keeps the record of the emails sent.
    4. i have put it some logic to filter data form data base after that it will sends me unique data. Data should be email to different uses based on the list.
    Now the Problem:
    I am receiving duplicate mails on multiple times.
    Is there anything that I am missing in the following that would help me resolve this problem.
    my Servlet inti method is:

    sorry code is here..........
    public class SchduleTimeEmail extends HttpServlet implements SingleThreadModel{
    public void init( ServletConfig servletConfig ) throws ServletException{
    super.init(servletConfig);
    this.config = servletConfig;
    try{
    // specify in the format as in 12.13.52 or 3:30pm
    initialTime = format.parse( config.getInitParameter("initialTime"));
    delay = HOURS_24;
    RunLogger.addLogger("init first try:"); // log file
    catch( ParseException pe ){
    // Log.sendMessage( Log.MESSAGE_LEVEL_INFO , "[TimerServlet]", "startTime could not be parsed from web.xml file" );
    System.out.println("startTime could not be parsed from web.xml file."+pe);
    initialTime = new Date();
    delay = HOURS_24;
    // Timer Must start combination of 15,30,45,00 min for check schdule
    Date dalayTimeMinSec = new Date();
    int currentMin = dalayTimeMinSec.getMinutes();
    int totalDelayTime = 0;
    if(currentMin%15!=0 || currentMin%15 != 15){
    try {
    int delayMin = currentMin % 15;
    totalDelayTime = (15-delayMin) * 1000 * 60;
    dalayTimeMinSec.setSeconds(0);
    Thread.sleep(totalDelayTime);
    RunLogger.addLogger("Thread go for sleep:");
    } catch (InterruptedException ex) {
    RunLogger.addLogger(ex.toString());
    //Start Timer from this time
    timer = new Timer();
    Calendar time = Calendar.getInstance();
    Calendar timeOfDay = Calendar.getInstance();
    try{
    timeOfDay.setTime(initialTime);
    time.set((Calendar.HOUR_OF_DAY), timeOfDay.get(Calendar.HOUR_OF_DAY));
    time.set(Calendar.MINUTE, timeOfDay.get(Calendar.MINUTE));
    time.set(Calendar.SECOND, timeOfDay.get(Calendar.SECOND));
    Calendar startTimeOfTimer = Calendar.getInstance();
    startTimeOfTimer.add( Calendar.MINUTE, 0 );
    // make sure the first timer doesn't fire before the server starts
    if( time.before(startTimeOfTimer) )
    time = startTimeOfTimer;
    System.out.println("TimerServlet: Timer has been set for " + time.getTime() + " '(" + delay + ")'"); // for checking
    checkDBSendEmail msasTask = new checkDBSendEmail();
    timer.scheduleAtFixedRate( msasTask, time.getTime(), delay );
    catch( Exception e ){
    RunLogger.addLogger(e.toString());
    public void destroy(){
    timer.cancel();
    super.destroy();
    and another class is:..
    public class checkDBSendEmail extends TimerTask{
    public void run()
    // System.out.println("Function run : "+ functionExcuteCount++);
    try{
    // DB Logic as well as send e-mail function call
    catch( Exception ex ){
    RunLogger.addLogger(ex.toString());
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    processRequest(request, response);
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    processRequest(request, response);
    public String getServletInfo() {
    return "Short description";
    // </editor-fold>
    I also checked the email server settings, and I am sure that the email server is not duplicating the emails.
    this code working correctly on my local machine But in live server it duplicating email and still I am receiving duplicate mails.
    Any help is appreciated.
    Thanks,
    Sharda

Maybe you are looking for