fash866 Member Licensed User Longtime User Apr 19, 2015 #1 Is startserviceAt can run a service after OS reboot ?
Peter Simpson Expert Licensed User Longtime User Apr 19, 2015 #2 If you want your service to start after a reboot then you should use this. StartServiceAt in your service will then start running. B4X: #Region Service Attributes #StartAtBoot: True #End Region Upvote 0
If you want your service to start after a reboot then you should use this. StartServiceAt in your service will then start running. B4X: #Region Service Attributes #StartAtBoot: True #End Region
Erel B4X founder Staff member Licensed User Longtime User Apr 19, 2015 #3 The answer is no. You will need to reschedule it as Peter wrote. Upvote 0
Melghost Member Licensed User Longtime User May 5, 2015 #4 So, if I want to shedule an alarm to start at, let's say, two months from now, what's the right way to do it? Do I have to test the date every boot until that day? Upvote 0
So, if I want to shedule an alarm to start at, let's say, two months from now, what's the right way to do it? Do I have to test the date every boot until that day?
Erel B4X founder Staff member Licensed User Longtime User May 6, 2015 #5 For such a long period I recommend you to create a daily "alarm" and check each day whether you need to fire the real alarm. You will also need to reschedule the task after boot. Upvote 0
For such a long period I recommend you to create a daily "alarm" and check each day whether you need to fire the real alarm. You will also need to reschedule the task after boot.