Problem with Fiscal weeks

Hi,
I have to write a query which should fetch data for the last 6 fiscal weeks from the data from which it is run.
eg
SELECT TO_CHAR(SYSDATE,'YYYYIW')-6 FROM DUAL
The above query would give me the last 6th fiscal week from the current date, but this query fails when the date lies in the first 6 fiscal weeks, it would return something like 200595 which should be 200546. The problem is that the number of the fiscal weeks for a year are not fixed. it might be 52, 53 or 54 also.
Is there any function existing in oracle that would handle the above problem? if not can ayone help me to find a workaround for that.
Thanks in advance
Ramesh

Is it a problem with week starting end of year and ending at the begining of the following year ?
If yes, you maybe need to work with WW instead of IW, and try something like :
SQL> exec :dt:='02062006'
PL/SQL procedure successfully completed.
SQL> ed
Wrote file afiedt.buf
  1  select to_char(to_date(:dt,'DDMMYYYY'),'YYYYWW') "WEEK",
  2         case when to_char(to_date(:dt,'DDMMYYYY'),'WW') -6 > 0
  3              then to_char(to_date(:dt,'DDMMYYYY'),'YYYYWW') -6
  4              else to_char(last_day(trunc(to_date(:dt,'DDMMYYYY'),'YYYY')-1),'YYYYWW')
  5                   + (to_char(to_date(:dt,'DDMMYYYY'),'WW') -6) end WEEK_MIN_6
  6* from dual
SQL> /
WEEK   WEEK_MIN_6
200622     200616
SQL> exec :dt:='05012005'
PL/SQL procedure successfully completed.
SQL> select to_char(to_date(:dt,'DDMMYYYY'),'YYYYWW') "WEEK",
  2         case when to_char(to_date(:dt,'DDMMYYYY'),'WW') -6 > 0
  3              then to_char(to_date(:dt,'DDMMYYYY'),'YYYYWW') -6
  4              else to_char(last_day(trunc(to_date(:dt,'DDMMYYYY'),'YYYY')-1),'YYYYWW')
  5                   + (to_char(to_date(:dt,'DDMMYYYY'),'WW') -6) end WEEK_MIN_6
  6  from dual
  7  /
WEEK   WEEK_MIN_6
200501     200448
SQL> Nicolas.

Similar Messages

  • Problems with current week

    I am having problems with a YTD style measure and I don't know how to deal with it.
    I need to sum from one date - the same day each year - 1st april - to the current week. The current week is defined as the last data build date. For previous years, the cumulative is from the 1st april to the parallel week to the current week.
    There is an indicator in the database table that shows what week is the current week.
    How should I store an attribute in a hierarchy that indicates it is the current week ? As a property ?
    How would I sum from the 01st april to a current week using an attribute stored in a property in the Date dimension ?
    My Date dimension is daily and based on calendar weeks and calendar months.

    Hi ,
    Does the week is part of the hierarchy ? if so, you want to have range between two days, the 01/04 and the last day for that relevant week . Something like ..
    {[Date].[Calendar].[Day].&[20130401]:ClosingPeriod([Date].[Calendar].[Day], MyRelevantWeek)}
    You can achieve the relevant week by filtering the weeks without the right property :  Filter([Date].[Week].[Week] , [Date].[Week].CurrentMember.properties("RelevantWeek") = 1) .
    If you want to have a dynamic 1st to April for the relevant year, you'll need to build this member with the current year : strtomember("[Date].[Calendar].[Day].&["+str([Date].[Year].Currentmember.properties("key"))+"0401]")
    Hope it helps :)
    Regards, David .

  • Problem with Fiscal Year/Period

    Hi Expert,
    I am facing an issue with Fiscal year/per in my query. User is running the report on web. When he enters Fiscal year and period in selection screen, the report fetches correct data, however if I go to the information tab, there the value of the fiscal year/per is wrong. e.g. The user enters 010 2007. The report fetches 010.2007 data only but in the information tab, the value of the variable is shown 010.2008
    Please help me in identifying the issue.

    There might be one more variable in the query which is not of type ready for input.
    Fiscal year/per  can be the name of two variables in the query.
    Check in the query if you have one more variable.
    Hope this helps.

  • Problems with fiscal report 340 (Spain)

    Hello,
    In version 2007 SP01 HF08 in location Spain has been added the generating of the file of fiscal report 340,
    the client has generated it but we have found two problems.
    - first in the generated file for the purchase invoice, in the invoice number appears the field DocNum and may be appear the field NumatCard that is the number of the invoice of purchase.
    - second, in the generated file purchase invoices must appear in positive, but appear in negative. It is a mistake, all documents (sales and purchases) should appears in positive.
    Best rgards, Hugo

    Hello Manuel,
    here you can download testing build with the fix.
    http://service.sap.com/~form/handler?_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=N&FUNCTIONBAR=N&EVENT=TREE&TMPL=01200615320200017387&V=INST
    Best regards,
    Martin Duffek
    Solution management
    SAP Business One

  • Display and lock up problems with 3 week old MBP!!!

    Hi all,
    I hope that someone here can help with a scary problem that I have experienced with my (otherwise perfect!!) MBP!!
    Occasionally, so far always after a boot up or wake up (but never on the login screen!), the MBP will lock up completely and the display will become corrupted as in the images I have posted below (fingers crossed!)!
    As I said, it locks up the MBP so that the only action I can take is to force a reboot by pressing the On/Off button for the required amount of time.
    I took the MBP to an Apple shop after making an appointment with a Genius (wonderful, lovely Spanish girl, name of Eva!!!!). Sadly, as the symptoms could not be recreated in the shop there was not a lot Eva could do, she did recommend a re-install of OS X, and also suggested that I let them have the MBP for a day so that they could hook it up to something (for a full eight hours!!) or other and test it. Eva did say that she had not seen the problem before (I took my camera to the shop and showed her the pics of the screen), but that it did not look good!!
    So, I decided to take it back home and ask for help here!!!!
    Any advice would be welcome!!!
    Screenshot 1...
    Screenshot 2...
    Regards
    Blakey

    i would go back and show them these pics, also try doing stuff that is graphics intensive, my guess is that you have a bad video card, doing things that heat it up should get it to happen
    one thing that you can use stress the vid car is the opengl example programs included with XCode (its included with the programs on the CD that came with the computer), so i recommend opening a few of those, and then doing a few `yes>/dev/null` in the terminal, also make the window semi-transparent, and put it on top of quicktime playing some movies, that should help stress the video card and put extra heat on it
    if you can get that to consistently cause the problem then take it back to Apple

  • Problem with Fiscal Period and regarding...

    Hi all,
             I have a particular query in which posting period and fiscal year are the characteristic variables(mandatory and single values) . I have to define  Rolling Year To Date variable/ User exit such that when the user enters posing period and fiscal year query has to fetch previous 12 periods data from the cube..
           If posting period is 005 and fiscal year is 2007 then the output for a particular balance Keyfigure has to be from 005-2007 to 006-2006.
         The thing is we don’t have Fiscal period defined in the cube . One possible solution is Using the Offsets… if we are are goin to offset on the previous 12 periods, is the query going to fetch the correct values….
        Other thing we can think of is user exits… can some one share the logic regarding this... if we have to user the user exits…. Promise to award full points….
    regards,
    sasidhar gunturu

    Sasidhar,
    Since you have posting period and fiscal year separately, you need not think of going for an exit. You can simply use offsets on both so that they will fetch right data. Since there are two separate objects offsets should fetch correct data. Go ahead with offsets.....

  • DP Planning in Fiscal Periods and Fiscal Weekly Periods

    Hi,
    We are using fiscal calnedar that starts on first Sunday of Nov with 4 weeks in each period i.e., fiscal year 2009 started on Nov 2nd (Sunday) and first period goes from Nov 2nd (Sunday) to Nov 29th (Saturday) and so on.
    So, our fiscal week also starts on Sunday and ends on Saturday i.e., in first period of 2009 the following are the fiscal weeks
    1 fiscal week - Nov 2nd to Nov 8th
    2 fiscal week - Nov 9th to Nov 15th
    3 fiscal week - Nov 16th to Nov 22nd
    4 fiscal week - Nov 23rd to Nov 29th
    1 fiscal period  - Nov 2nd to Nov 29th
    In storage bucket profile we are able to assign only one fiscal period profile. There is no place to consider fiscal weeks.
    Created two planning books as follows
    1. Planning book with time bucket profile of fiscal periods. It is allowing me to plan in fiscal periods and works as expected
    2. Planning book with time bucket profile of fiscal weeks. It is not allowing me to plan in fiscal weeks
    How to make the fiscal weeks planning book work?
    Thanks in advance,
    Srini

    What version are you using? We asked for this in 2003 at ASUG and although it was delivered in 4.1 we never got it to work, but when we upgraded to 5.1 it works perfectly.
    Define 1 storage bucket profile with fiscal weeks and 2 planning bucket profiles, one with fiscal weeks and the other with fiscal months. Then define your planning area with the SBP fiscal week. Within interactive planning, turn on the header functionality. Choose the first icon on the upper left corner of the planning grid and choose "change periodicity" and you can switch from "fiscal weeks" to "fiscal months".

  • DP Planning Variable Fiscal weekly Periods

    Hi,
    We are using fiscal weekly calnedar that starts on first Sunday of Nov i.e., for fiscal year 2009 it is as shown below.
    1 fiscal week - Nov 2nd to Nov 8th
    2 fiscal week - Nov 9th to Nov 15th
    3 fiscal week - Nov 16th to Nov 22nd
    4 fiscal week - Nov 23rd to Nov 29th
    For every 5 years we have one extra weekly period i.e.,
    2007 we have 53 periods
    2008, 2009, 2010, 2011 we have 52 periods
    2012 we have 53 periods and so on...
    In transaction OB29 I switched periods to 53 while entering data for 2005, 2012 and at other times I left as 52 periods. Finally I left at 52 periods
    But while initializing the planning area system generated consistency error for  Fiscal year 2007.
    Is there any possibility to use the variable periods?
    Thanks in advance,
    Srini

    What version are you using? We asked for this in 2003 at ASUG and although it was delivered in 4.1 we never got it to work, but when we upgraded to 5.1 it works perfectly.
    Define 1 storage bucket profile with fiscal weeks and 2 planning bucket profiles, one with fiscal weeks and the other with fiscal months. Then define your planning area with the SBP fiscal week. Within interactive planning, turn on the header functionality. Choose the first icon on the upper left corner of the planning grid and choose "change periodicity" and you can switch from "fiscal weeks" to "fiscal months".

  • über problems with Z10 for past two weeks.

    Hi there
    For the past two weeks I've been having major problems with my Z10. I started noticing that my Whatsapp messages were coming through, but not making a sound. I reset and set the notification settings again, but still no luck. I figured since it was a 3rd party app, I'd maybe need to reinstall it. But then I also noticed that my text messages weren't coming through. Then some of my notifications (Facebook, Text message, Whatsapp and email) started staying "unread" even after I'd read them and even marked them as read. In fact, in desperation I even deleted the one text message thread, but it was still showing in my HUB. When I clicked on it it just showed blank since there was no longer a message there, but it wouldn't "disappear" from the HUB. Also, emails come through, but there is no sound or unread notification and I only see them if I check through the "read" emails in the HUB. 
    The only thing that helps for this is when I restart my phone - then all my texts come through, notifications work fine and everything is dandy - for about half an hour, then the same thing starts happening. This is really annoying, because I have to restart my phone several times a day to make sure I don't miss important messages (which has happened during this time). 
    Last week I wiped my phone and restored an update from 2 weeks earlier (when the phone wasn't giving problems), but once again it only worked for an hour max, then it was back to the same old problems. 
    I'm really frustrated at the moment, because what good is a smart phone to me if all it can do is make and receive calls? The ONLY things working properly at the moment (as far as I'm aware) is BBM and making and receiving calls. 
    *desperate*

    Hi there
    For the past two weeks I've been having major problems with my Z10. I started noticing that my Whatsapp messages were coming through, but not making a sound. I reset and set the notification settings again, but still no luck. I figured since it was a 3rd party app, I'd maybe need to reinstall it. But then I also noticed that my text messages weren't coming through. Then some of my notifications (Facebook, Text message, Whatsapp and email) started staying "unread" even after I'd read them and even marked them as read. In fact, in desperation I even deleted the one text message thread, but it was still showing in my HUB. When I clicked on it it just showed blank since there was no longer a message there, but it wouldn't "disappear" from the HUB. Also, emails come through, but there is no sound or unread notification and I only see them if I check through the "read" emails in the HUB. 
    The only thing that helps for this is when I restart my phone - then all my texts come through, notifications work fine and everything is dandy - for about half an hour, then the same thing starts happening. This is really annoying, because I have to restart my phone several times a day to make sure I don't miss important messages (which has happened during this time). 
    Last week I wiped my phone and restored an update from 2 weeks earlier (when the phone wasn't giving problems), but once again it only worked for an hour max, then it was back to the same old problems. 
    I'm really frustrated at the moment, because what good is a smart phone to me if all it can do is make and receive calls? The ONLY things working properly at the moment (as far as I'm aware) is BBM and making and receiving calls. 
    *desperate*

  • My phone battery can only last an hour. Problem started a week ago while I was in Argentina. I am back in the country now, this morning I left the house with a full battery and when I got to work the phone had shut down. Phone is 7 months old. Why?

    Dear Apple Family,
    I have been using an iPhone since I lost interest with Nokia phones. I fell in love with Apple's innovation, design and technology.  However, I am beginning to lose interest wth the product as well.
    I have an iPhone 5, my phone's battery can only last an hour and the phone is 7 month old.  The problem started last week while I was in Argentina. I had a bad holiday due to this, as I could not make use of the technology because my phone was off most of the time and I had nowehere to charge except to go back to the hotel.  I could not even share pictures on Instagram.  Has anyone ever experienced such a problem?  If so, why and how was the problem fixed?  I am starting to engage in a debate that I have been trying to avoid with my friends.  They say that Samsung is striving and I now tend to agree, and if the problem persists I will gladly join the Samsung family. They seem to make reliable phones.  Sadly, I never experienced this problem with iPhone 3GS & iPhone 4S.
    With Gratitude,
    Thapelo

    Hello,
    If you're in a country where there's an apple shop (unfortunately not mine), go check it and ask the employee about it: he's gonna check your Iphone on a "device"
    I've got an iphone 5 and it's working very well with me but I have to admit that its battery lasts (slower) than my Ipad 2.
    Still i can help with some tips that may improve your iohone's battery by an hour in addition (hopefully):
    - close all apps by multitasking....
    - do NOT keep the brightness to the max
    Believe me you're gonna regret changing your phone to a samsung
    Hope i've helped and sorry for my bad english (has english as 3rd language)

  • Going on week FOUR of problems with MSI NEO-2-S :/

    Mainboard: MSI Neo2-S, BIOS Rev. 1.5x (whatever Live Update sent me)
    RAM: GeiL 1GB (512x2) PC-3500 Matched pairs
    CPU: P4-2.4c
    HD: WD 1200JB Special edition
    Cooling: Stock intel, lapped @ 800 grit
    PSU: 450W
    Video: MSI Geforce 4 TI-4200 64MB
    O/S: Windows XP Pro SP1A, IE 6.x latest security patches
    DX: Direct-X 9b
    BIOS setting: Slow
    Overclocking: No, system will not even run stable at rated speeds.
    Problem:
    System just shuts itself down in the middle of gaming.
    CPU temperature has a wide range, depending on how cool the night is and if I have my windows open etc the system can be as low as 40c. Under load while gaming I've seen it go to between 59c-62c.
    I've gone into Core Center and turned off the dynamic overclocking so it doesn't adjust speed in the middle of playing games, thinking that might be causing issues.
    I've also cranked the fans up all the way in Core Center to increase cooling.
    Heck I've even turned Core Center OFF thinking it was messing with my system.
    No antivirus is running in the background while I'm gaming. I've fresh installed XP Pro. I've re-applied service packs.
    I'm worried about the temperature but I don't necessarily know for certain the sudden shutdowns are a cooling issue.
    I am going on week FOUR of problems with this new system. I have never purchased an MSI mainboard and seriously, I have just flat out had it. I've already been through one RMA'd board, I am not RMAing another. I have 3 days left on my newegg account before I am stuck with this MSI, forever. If I can't find a solution ASAP (in 24 hours!) I am returning this MSI board and getting a Gigabyte 8KNXP.
    Can anyone help me out here with suggestions please. I'm at my wits end. I've never had to do SO MUCH WORK to get a system running stable. I put my P3 with Intel mainboard together 2.5 years ago and I haven't had ONE single issue.
    Stability is a BIG factor for me. I can't even think about overclocking when this sytem won't run at rated speeds!
    Chris

    This is a different problem.. the first board just flat out died after upgrading the BIOS. I never even got to use it.
    This new board upgraded the BIOS just fine but I've been experiencing crashes and shutdowns.
    I don't have any spare motherboard or CPU to test it in, and if I did I'd still have to run it for several days..and I don't have several days due in part to me having to dink around with it for so long.
    I would say I am in game for 30-60 minutes before I see temperatures that high. Although again I have been playing this same game on my P3-1ghz with the same Video card and never once had a shutdown like this. Never once overheated.
    I have all the fancy display/graphics options turned off..I have tested in different resolutions (it makes no difference temperature wise)
    I do not know what my core temps are, I can check when I get home and post them if it helps.
    I'm running everything at stock speeds. I've noticed Core Center ups my speed slowly from 201x4 to 203x4 etc and so I disabled that and finally flat out took Core Center out of startup. I didn't want it modifying anything while I was playing on the chance it was causing the crashes. Still no change even after that.
    The temp does seem a bit high, but I have lapped the heatsink and fan and applied a layer of termal paste (silicon based) to both the HSF and the CPU. I removed that old black pad by scraping it off and then cleaning it with some xylene based carburetor cleaner. I spent several minutes rubbing the black melted parrafin goo off the processor and HSF with a coffee filter. I'm very confident there was little to none left when I applied the new thermal paste.
    I don't understand why it runs so hot, nothing is overclocked, I'm running low settings in the game. These temps i'm posting are from Core Center. I have the case OPEN (plenty of ventilation) and I have the windows in my room open to the night air!! (i live in san diego, its cool at night right now) I tried with the case closed also just to be sure and I received the same temperature readings.
    None of this makes sense...and after 4 weeks and 500 dollars I'm tired of having to make it sense. It should work right away and that's that.

  • It's now over 6 weeks since I made the mistake of updating my iPad and I am furious and frustrated at the lack of a solution to the problem with ios 5 audio app missing lyrics

    It’s now over 6 weeks since I made the mistake of updating my iPad and I am furious and frustrated at the lack of a solution to the problem with ios 5.
    I recently updated to ios 5.1 but nothing has been done to rectify the audio app problems ie lyrics no longer shown,
    I am extremely disappointed and angrywith those responsible for the iOS 5 update, in regard to the way it hasaffected the music app in my iPad.
    I also own an iPhone 4, am an avid Apple fan, and up until now have beenextremely pleased with the devices, and have sung their praises to friends andassociates.
    I am a professional musician, and purchased an iPad primarily to use with theperformance of my music.
    The changes made to the music app affected my performances over the weekendextremely adversely – limiting my repertoire and causing confusion and delays.
    I have spent many hours talking withApple helpline assistants (who, incidentally have been very good and have triedto help), and I have also spent a lot of time on this letter.
    I greatly regret updating to iOS 5.
    There are two major problems with the music app.
    1. Lyrics no longer displayed
    2. Layout, and appearance and consequently performance have seriouslyregressed.
    I have a repertoire of around 500 song backing tracks, organised into about 20playlists, half of which featured lyrics / chords that I have spent monthsrecently entering into iTunes so that they could be used on my iPad.
    These were working fine up until the update - now they are gone.
    Previously, the app featured large icons for playlist, artists, songs etc. atbottom of page: Now there are small, grey, indistinct barely legible buttons.
    Previously, when playlist icon was selected - all the playlists were listedclearly in order on the left hand side in black on white (as in iTunes).
    Now they are scattered across the whole page in large squares (displayingnothing if there is no album art).
    The identifying wording below eachsquare is now small, grey, indistinct & barely legible.
    Previously, when a playlist was selected - the songs were displayed in adescending list in black & white: now they appear as small, grey indistinct & barely legible.
    Previously, when a song was selected - it appeared filling the page, and withaudio controls clearly positioned at top of screen. One tap would bring uplyrics.
    Now audio controls appear at top once again small, grey, indistinct &barely legible.
    A small square representsalbum art which if tapped fills page. A further tap fails to bring up lyrics.
    Don Wilson

    Lyrics aren't supported in the Music app on iOS 5 on the iPad. These are user-to-user forums, they are not monitored by Apple (there are too many forums/threads/messages for that to happen). If you want to leave feedback for Apple then you can do so here : http://www.apple.com/feedback/ipad.html

  • I got my iphone 5 3 weeks ago and the battery life is very short. It drains out very fast. Does anyone know if it's a problem with the iOS or with my phone? Because I'm a bit concerned

    I recieved my iPhone 5 3 weeks ago and the battery life completely *****! After doing a few things and maybe using it for about 30 minutes the phone start overheating like crazy then the battery starts dropping very fast. Does anyone know if it's a problem with the iOS or with my phone? And is anyone else expierenceing these problems?

    It sounds like you have an app that is incorrectly continuously using data and power... from normal use the phone should NOT be getting that warm... only constant video playing via data like Netflix for example would result in that...
    I'd say that you should remove all apps in the recent app tray... tunr phone off... then once you power back on...
    Hold BOTH home and sleep wake buttons together until you see a white apple symbol... then release both buttons...
    This will ensure you have no apps running...
    I've experienced a hang up with mail while out and about that has resulted in this on my iPhone as well... Once I performed these steps it was fixed... it seemed like it got stuck and that's what caused the warm phone and battery drain...
    I notived that when it gets stuck (mail app that is) I will see the text connecting at the bottom and it never changes to "updated" like it should... this is my trigger that it's gotten stuck.
    Have not really figured out what causes mail app to get stuck yet...

  • Trying to access hotmail account but it is taking forever to get into hotmail it was working ok at start of week only yesterday and today have a problem with it

    rying to access hotmail account but it is taking forever to get into hotmail it was working ok at start of week only yesterday and today have a problem with it

    You can try these steps in case of issues with web pages:
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and remove cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • In the icloud settings, i am told i need to accept the terms and conditions to use icloud, but when i try to do so, i get a message "unable to connect to server". This has been going on for a week. There is no problem with either my wifi or cellular conne

    In the icloud settings, I am told I need to accept the terms and conditions to use icloud. However, when I click on "Terms and conditions", I get a message "unable to connect to server". This has been happening for a week now since I upgraded to iOS 7.06. There is no problem with my wifi or cellular connectivity, all other applications work perfectly. P.S.I have never used icloud before, but wish to do so now. How do I overcome this problem?

    Have you turned the iPad off then back on? That often helps with problems.

Maybe you are looking for

  • Forceing user to do AMR in CJ02 at the time of  SAVE.

    Hi Experts, While using CJ02 (PS), at the time of giving WBS elements and thereafter its processings user wants that at the movement of saving,  program should force the user to do the AMR for that WBS element. How can we accomplish it ?

  • How do you fix a disabled ipod

    how do you fix a disabled ipod

  • JSP tags

    When I am trying to figure out how to use Class XXX from the core API I simply look up the Java docs and everything is explained. I have downloaded the TagLibs implementation of suns JSTL but cannot find anything similar for figuring out how to use t

  • Enhancement MM06E005 problem.

    Table EKKO EKPO Can i add a table control in screen exit? If can, how can data stored in the table EKPO???

  • Weblogic Server shutting down at Windows logout

    I have an administration server running on a WinXP machine - it works fine, except that every time I log out of Windows, it dies. I can start and stop it remotely via Node Manager with nobody logged into Windows, but as soon as I log out, it dies. Ne