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
Paul Timms
From what I've read, using these will store the updated records in memory and then write them to the database in bulk, instead of each record writing to the database in turn. So perhaps there&apo...
17:53 29 Apr 2025
Gastón Salomone
Hi David, Since this happend in a timed task and its a memory problem, system crash and there are not any messages in hansa.log In hansa log. last lines are following: 2025-04-24 22:48:20 runn...
16:15 25 Apr 2025