Running PeriodicTask during Backup
Aldevinas Katkus
11-24-21
Operating system: macOS
Is it safe to run a periodic task created with NewPeriodicTask2() during a text backup?

Example 1:
Periodic task starts deleting records in a loop and then a Daily backup is started.
Will periodic task routine be suspended while the Daily backup is being run?
If periodic task routine will be suspended will it resume after the Daily backup is finished?

Example 2:
Daily backup is running and then a periodic task should start.
Will periodic task be executed or ignored until the timer triggers it at the next scheduled time?
Bror-Erik Kotiranta
11-25-21
Hello,

Personally i would say 1) yes, it stops it and continues after. 2) it should start right after.
But, to be sure i will have someone verify
Anna Lasko
12-22-21
no reply in a long time, closing this question, please let us know if the issue persists.
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Bror-Erik Kotiranta
Clients have their own cache, and then the server has the shared cache, if you want it kind of black and white. Presense should be there as far as i know...
10:55 7 July 2025
Yavuz Yigiterhan
Hello Paul, That is something only HansaWorld can do. But that would help to understand is that causing the problem and - if so - we fix the issue. Additional information is appreciated. Yavuz...
10:45 7 July 2025