luke2012 Well-Known Member Licensed User Longtime User Nov 30, 2014 #1 Hi to all, I need to schedule a procedure that updates some SQLite fields daily on server. How to do this with B4J ?
Hi to all, I need to schedule a procedure that updates some SQLite fields daily on server. How to do this with B4J ?
Erel B4X founder Staff member Licensed User Longtime User Nov 30, 2014 #2 You will need to create a process that runs on all the time. You can use a timer with a large interval to do the schedule task. Another option is to use the computer task scheduler to schedule your app to run every day. Upvote 0
You will need to create a process that runs on all the time. You can use a timer with a large interval to do the schedule task. Another option is to use the computer task scheduler to schedule your app to run every day.
JTmartins Active Member Licensed User Longtime User Dec 1, 2014 #3 my advice, as I needed to do something similar, (in my case a backup) is to create a little app with no UI and use the task scheduler. It does the job without bothering the user. Upvote 0
my advice, as I needed to do something similar, (in my case a backup) is to create a little app with no UI and use the task scheduler. It does the job without bothering the user.
luke2012 Well-Known Member Licensed User Longtime User Dec 3, 2014 #4 So assuming to adopt the timer approach, I have to program a timer in the app startup that run a process like a B4J class ? Upvote 0
So assuming to adopt the timer approach, I have to program a timer in the app startup that run a process like a B4J class ?
Erel B4X founder Staff member Licensed User Longtime User Dec 4, 2014 #5 Nothing special. Just a timer that ticks every hour. Make sure to call StartMessageLoop is you are implementing it as a non-UI app. Upvote 0
Nothing special. Just a timer that ticks every hour. Make sure to call StartMessageLoop is you are implementing it as a non-UI app.