WatchedFolder between 18PM and 8AM

Hi everyone,
I need to set a watched folder which will begin to scan the folder at 18PM and will stop at 8AM, even if there are still files to process.
I was hoping I could use the Repeat Count variable, (every 2 seconds for 1800 * 14 counts = 14 hours) but unfortunately the max value of Repeat Count is 100.
I did a little search, and it seems that the CRON expression doesn't allow this kind of demand.
Is there a way to do that ?
Can we ask a watched folder to start and stop working at a certain time ?
Kind regards,
Thomas

I finally found how to do that by simply reading the CronTrigger doc !
Here's the link : http://www.quartz-scheduler.org/docs/tutorials/crontrigger.html
My final CRON Expression is :
0/2 * 18-23,0-7 * * ?
Which means :
0/2 : every two seconds
* : every minutes
18-23,0-7 : from 6PM (18h) to 11PM (23h) and from 0AM to 8AM
* * ? : every day / every month / ...
Hope this helps !
I still have a question, Does this kind of configuration will consumn a lot of resource ?
Regards,
Thomas

Similar Messages

  • Speed Drops by 94.74% Between 6pm and 8pm returns ...

    Hello,
    I've contacted BT a total of 25 times now, and spoke to various departments explaining that throughout the day my broadband sits around 38Mbps, but between 6pm and 8pm my connection drops to around 2Mbps every evening for the past few weeks. I've had people call me back between these hours when my speed has drops to run tests to be told it shows on their end I am syncing at 40Mbps, but I can see on my end the throughput is 2Mbps or less. It's the same story each time. I've tested multiple devices both wired and wireless (wired connected to the master socket) I have had a brand new BT router sent out to be which has not resolved the problem, and a new faceplate installed which did not resolve the problem. I have had an openreach engineer arrive at 8am in the morning although I have no issues during the day, and surprisingly he could find no faults with the line or the router. He contacted the RAINS department to check for interference, and they told him there was no interference and that the sync speed is 40Mbps and that they would need to speak to the fibre help desk who reported back the same, and suggested it could be a hot VP (congestion) he spoke to the department who deals with that to be told that it's not a congestion problem otherwise other people would of reported the same issue as me. Congestion and Interference are supposedly not the issue and the sync speed never drops, but the throughput speed does each and every night between 6pm and 8pm. The engineer told me he could do no more on his end, and I would have to escalate the issue which I have done so far, but BT do not seem to be able to help me or indentiy the problem. I was promised an engineer to come at 6pm to catch the problem, but no one turned up so the engineer who did all the above tests came this morning at 8am even though I told BT my issue is not during the day only betwen 6pm and 8pm up until midnight and straight after midnight the issue resolves itself and I have normal speed again. I have no noise on the line, and have had all that tested by openreach engineer who said everything internal is fine. Can moderators please help me and other people suggest what I can do next? I am not sure how to take this further now. Would a lift and shift potentially fix the issue? I have noticed my ping during the day seems to sit around 26ms but when I get issues it increases to 40 to 70+
    NOTE: TO BE CLEAR THE SLOW SPEED IS NOT JUST BETWEEN 6PM AND 8PM ITS JUST BETWEEN THESE TIMES THAT THE SPEED FIRST DROPS, BUT CONTINUES TO BE 2Mbps UNTIL MIDNIGHT.

    1. Product name:
    BT Home Hub
    2. Serial number:
    +068343+NQ42340465
    3. Firmware version:
    Software version 4.7.5.1.83.8.173.1.6 (Type A) Last updated Unknown
    4. Board version:
    BT Hub 5A
    5. VDSL uptime:
    0 days, 11:31:10
    6. Data rate:
    4996 / 40000
    7. Maximum data rate:
    5413 / 51802
    8. Noise margin:
    6.1 / 7.6
    9. Line attenuation:
    0.0 / 24.1
    10. Signal attenuation:
    0.0 / 21.5
    11. Data sent/received:
    500.7 MB / 3.1 GB
    12. Broadband username:
    [email protected]

  • Difference between Null and null?

    What is the difference between null and NULL?
    When is each used?
    Thanks,

    veryConfused wrote:
    There is a null in java, but no NULL. null means no value. However, when assigning value, the following is different:Although the empty String has no special role. Null means, the referential type is not assigned (doesn't refer) to a specific object. The empty String is just another object though, so seeing it or pointing it out as something special when it actually isn't at all (no more special than new Integer(0) or new Object[0]) just adds to the confusion.

  • 7344 servo motion switching between open and closed loop operation

    I have a custom end-of-line test system presently using a 4-axis 7344 servo controller to perform various functional tests on small, brushed DC motors. The system is programmed in C/C++ and uses flex motion functions to control the motor during testing. Motors are coupled to external encoder feedback and third party PWM drives running in closed-loop torque mode from an analog command signal. The system uses all four motion axis channels on the 7344 board to independently and asynchronously test up to four production motors at a time.
    In closed-loop mode, the system runs without issue, satisfying the battery of testing protocols executed by this system. I now have a request to add additional test functionality to the system. This testing must be run in open loop mode. Specifically, I need to use my +/- 10v analog output command to my torque drive to send different DAC output levels to the connected motor.drive while monitoring response.
    I do not believe the flex motion library or 7344 controller includes functions to easily switch between open and closed loop mode without sending a new drive configuration. I am also under the impression that I cannot reconfigure one (or more) servo controller axis channels without disabling the entire drive. As my system runs each axis channel in an asynchronous manner, any requirement to shutdown all drives each time I change modes is an unworkable solution.
    I am open to all ideas that will allow asynchronous operation of my 4 motor testing stations. If the only solution is to add a second 7344 controller and mechanical relays to switch the drive and motor wiring between two separately configured servo channels, so be it. I just want to explore any available avenue before I place a price tag on this new system requirement.
    Bob

    Jochen,
    Thank you for the quick response. The 7344 board does an excellent job running my manufacturing motor assemblies through a custom end-of-line tester in closed loop mode. A portion of the performance history and test result couples the motor through a mechanical load and external shaft. The shaft is in contact with a linear encoder that closes my servo loop.
    My new manufacturing requirement is to also sample/document how the small DC motor behaves in open loop operation. Your solution is exactly what I need to perform the additional functional tests on the product I am manufacturing. I see no reason why this cannot work. I was originally concerned that I would need to reinitialize the 7344 board after changing axis configuration. Initialization is a global event and impacts all four channels on the 7344 board.
    Using flex_config_axis() to change axis configuration on a single channel without disturbing other potentially running axis channels will solve my concern. It will be several weeks before I can return to the manufacturing facility where the 7344-based testing machine is located. I will update this thread once I verify a successful result.
    Bob

  • Differentiating between open and closed invoices

    Hi all
           I am using a database view of tables VBRK and VRKPA  for fetching invoice list based on the customer number. Can I use  'VBRK-RFBSK = C' to differentiate between closed  and open invoices?  If not is there any other field i can use from this particular view for the same.
    Thanks

    Hi Asim,
    Yes, you are absolutely right. This field give you the exact result like which billing dcoument is open and which is closed.
    Regards,
    MT

  • Link between Delivery and Sales Order Schedule Line

    Hi Gurus,
    I have a requirement in which i need to display quantity and amount at schedule line level and also the delivery and delivery item for each schedule line.
    For example, if there is a sales order O1 and item 10 for which we have 3 schedule lines and 3 deliveries as well say D1, D2 and D3.
    Report should be something like this
    Sales Order    Item   Schedule Line    Delivery    Del Item   Confirmed Order Qty
    O1                 10      1                       D1           10            5
    O1                 10       2                      D2            10            5
    O1                 10       3                      D3            10            4
    How can i determine that a particular delivery corresponds to which schedule line of that saler order-item?
    We have the link between delivery and sales order but is there any way that we can get the link of delivery at schedule line level?
    Please help.
    Regards,
    Gaurav

    Hi,
    I suppose you must check with SD functional consultant and the post should also be in the logistics SD forum and not BI. But I suppose there is know specific link between the schedule line of SO to the Delivery. It is more like a bucket flow for ex.
    Sale order   Item    Schedule line  qty
    SO1            Item1     Sch1            10
    SO2            Item1      Sch2           10
    Delivery Item QTy
    DO1       IT1   15
    DO2       IT1    5
    In this case qty 15 is distributed over both SO1 and SO2, and SO2 ITem1 Sch2 has link to both the DOs
    So I am not sure if you can establish a one to one link, please check with your SD consultants.
    Regards,
    Ashwin G

  • Difference between GUI_UPLOAD and WS_UPLOAD

    Hi,
    Please make me clear about the difference between GUI_UPLOAD and WS_UPLOAD. In which cases we need to use these modules...??
    Thanks,
    Satish

    I would suggest to always use the GUI_UPLOAD.  I say this because this is the function module which is used in the GUI_UPLOAD method of the class CL_GUI_FRONTEND_SERVICES.   Really, you should probably use the class/method instead of the function module.
      data: filename type string.
      filename = p_file.
      call method cl_gui_frontend_services=>gui_upload
             exporting
                  filename                = filename
                  filetype                = 'ASC'
             changing
                  data_tab                = iflatf
             exceptions
                  file_open_error         = 1
                  file_read_error         = 2
                  no_batch                = 3
                  gui_refuse_filetransfer = 4
                  no_authority            = 6
                  unknown_error           = 7
                  bad_data_format         = 8
                  unknown_dp_error        = 12
                  access_denied           = 13
                  others                  = 17.
    Regards,
    Rich Heilman

  • I have a problem with the sync between iTunes and ipad2. I can not see the files in iPad. Help me please.

    I have a problem with the sync between iTunes and ipad2. I can not see the files in iPad. Help me please.

    Cannot see what files ? Music (synced music should appear in the iPod app), films/TV shows (Videos app), documents ... ?

  • Difference between char and varchar, also the difference between varchar2

    Hi,
    Can anyone explain me the difference between char and varchar, and also the difference between varchar and varchar2...

    Varchar2 is variable width character data type, so if you define column with width 20 and insert only one character to tis column only, one character will be stored in database. Char is not variable width so when you define column with width 20 and insert one character to this column it will be right padded with 19 spaces to desired length, so you will store 20 characters in the dattabase (follow the example 1). Varchar data type from Oracle 9i is automaticlly promoted to varchar2 (follow example 2)
    Example 1:
    SQL> create table tchar(text1 char(10), text2 varchar2(10))
    2 /
    Table created.
    SQL> insert into tchar values('krystian','krystian')
    2 /
    1 row created.
    SQL> select text1, length(text1), text2, length(text2)
    2 from tchar
    3 /
    TEXT1 LENGTH(TEXT1) TEXT2 LENGTH(TEXT2)
    krystian 10 krystian 8
    Example 2:
    create table tvarchar(text varchar(10))
    SQL> select table_name,column_name,data_type
    2 from user_tab_columns
    3 where table_name = 'TVARCHAR'
    4 /
    TABLE_NAME COLUMN_NAME DATA_TYPE
    TVARCHAR TEXT VARCHAR2
    Best Regards
    Krystian Zieja / mob

  • The difference between Lion and Mountain Lion

    Can some one explain to me the difference between Lion and Mtn Lion? I'm currently 10.6.8 Is it beneficiall for me to upgrade?

    Mountain Lion is an enhanced version of previous OS X and so that is Mavericks.
    About upgrading it all depends on what your needs are and if your hardware supports it.
    System requirements for OS X Lion
    System requirements for OS X Mountain Lion
    OS X Mavericks: System Requirements
    Please check also applications compatibility. From Lion onward, you cannot run PPC application.

  • The difference between WLSE and WLSM

    Dear All,
    In my understandings
    WLSM can support layer 3 roaming
    1. For rogue AP detection, is WLSE or WLSM be the choice?
    2. Between AP and WLSM, it is FSRT, is it encryped? by Cisco proprietary?
    Thanks a lot in advance.
    Regards,
    mak

    WLSE is a Management/Monitoring application that uses the radio information from WLSM to show Radio data including Rogue AP Detection. WLSE itself/alone cannot do Rogue AP Detection

  • The difference between N80 and N80IE ?

    What is the difference between M80 and N80ie?

    02-Jan-2007
    07:45 PM
    korngear wrote:
    The Nokia N80 Internet Edition is a new version of this handset with the same hardware as the normal N80. It is due for release in Q4 of 2006 and will be available in Patina Bronze or Pearl Black, and has the following additional software included.
    Yahoo Go! for Mobile
    Flickr
    Some Amazon Branded Software
    'Download!' App management
    Internet Telephone - SIP VOIP Frontend
    WLAN Wizard
    Gizmo VOIP - Gizmo Project VOIP Frontend.
    \\en.wikipedia.org//
    @Korngear
    Thanks.
    Could N80 be upgraded to N80IE?

  • The difference between SFP+ and X2

    Dear Expert,
    I need to know what is the difference between SFP+ and X2! and can I use SFP+ card and module instead of X2?
    Thanks,
    Mohammad Saeed

    Hi,
    They are both used for 10Gig interfaces.  The difference is the connector type.
    SFP+ is LC and X2 is SC.
    You can not put an SFP+ into an X2 slot or X2 optic into a SFP+.
    HTH

  • Difference between ok_code and sy-ucomm

    Hi,
    Can any one tell me the difference between ok_code and sy-ucomm

    Hi,
    Actually OK_CODE and SY-Ucomm are the same. But experts suggest use of OK code for following reason:
    In each PAI event that a user triggers by choosing either a pushbutton on the screen or an element in a GUI status, the corresponding function code is placed into the system field SYST-UCOMM or SY-UCOMM and placed in the OK_CODE field (as long as the function code is not empty). Empty function codes are placed in neither the SY-UCOMM field nor the OK_CODE field.
    In your ABAP programs, you should work with the OK_CODE field instead of SY-UCOMM. There are two reasons for this: Firstly, the ABAP program has full control over fields declared within it, and secondly, you should never change the value of an ABAP system field. However, you should also always initialize the OK_CODE field in an ABAP program for the following reason:
    In the same way that the OK_CODE field in the ABAP program and the system field SY-UCOMM receive the contents of the corresponding screen fields in the PAI event, their contents are also assigned to the OK_CODE screen field and system field SYST-UCOMM in the PBO event. Therefore, you must clear the OK_CODE field in the ABAP program to ensure that the function code of a screen is not already filled in the PBO event with an unwanted value. This is particularly important when the next PAI event can be triggered with an empty function code (for example, using ENTER). Empty function codes do not affect SY-UCOMM or the OK_CODE field, and consequently, the old field contents are transported.

  • What is difference between abstraction and encapsulation ?

    Hi,
    I am trying to figure out the difference between abstraction and encapsulation but confused.
    Both are used for data hiding then what is the exact difference ?
    Thanks.

    Tushar-Patel wrote:
    I am trying to figure out the difference between abstraction and encapsulation but confused.
    Both are used for data hiding then what is the exact difference ?This is the picture I have:
    When you encapsulate something you get an inside and an outside. The outside is the abstraction. It describes how the encapsulated entity behaves viewed from the outside. This is also called the type. Hidden inside is the implementation. It holds detail information about how the type's behaviour is accomplished.
    It's a very simplified picture but I think it's quite accurate and it works for me.

Maybe you are looking for

  • GR/IR Report

    Warm greetings to all ! I need a report wherein i can get the details of Ir against respective GR. Eg: If GR is done for Rs.1000 /-  and IR is done for 800/-. I need list of this kind. Plus would also like to know how to generate report in MB%s GR da

  • ApEx 2.1.0.00.39 as Partner Application in Oracle AS Single Sign-On

    Hi, I've installed the last Application Express 2.1.0.00.39 (oracle-xe-10.2.0.1-1.0.i386.rpm and oracle-xe-univ-10.2.0.1-1.0.i386.rpm) but, when I try to "create an authentication scheme" for configure an ApEx application to use SSO under Home>Applic

  • Unable to install Acrobat Pro 6 Upgrade on Mac Mini single CPU, OS 10.4.5

    I have a Mac Mini (1.5 GHz, Intel Core Solo) with 512 mb RAM running OS X (10.4.5) Unable to install Adobe Acrobat Professional 6 upgrade because I am unable to install earlier version full version (I own Acrobat 4 and 5 full versions). Finalizing in

  • Transfer orders creating 921 storage errors.

    Hi All When we enter two or more parts at a time to transfer in MB1B its create transfer order for material in back ground, Also its create 921 errors that need to be fixed in LT10 or the Workcenter trying to receive the parts as a transfer ends up w

  • How to get a valid IPCKEY for our UBBCONFIG (Window 2000) ?

    Hi everybody, I am trying to install Tuxedo 8.0 to run the simpapp sample. I have set all the environment variables and now I am trying to find a correct IPC KEY for the UBBSIMPLE configuration file. I just tried the TMLOADCF -c UBBSIMPLE command to