You could move the logic to a Scheduled or Map/Red...
# suitescript
e
You could move the logic to a Scheduled or Map/Reduce instead, which only runs after hours