<@U947A8SBX> &gt;There is no SuiteScript 2.0 equiv...
# suitescript
m
@D17339
There is no SuiteScript 2.0 equivalent to the SuiteScript 1.0 nlapiYieldScript() and nlapiSetRecoveryPoint() APIs. If you need to process a large amount of data or a large number of records, use the SuiteScript 2.0 Map/Reduce Script Type instead. The map/reduce script type has built in yielding and can be submitted for processing in the same ways as scheduled scripts.
d
Thanks @michoel, but my question is, I have Scheduled One, can I write logic to reschedule to the same scheduled one which runs for every 30min?
n
you can re-schedule the same deployment from summarize phase using suite-scripts or you can create another deployment for it
d
@ns_dev its a schedule script
n
sorry didn't see that😆, no you can't
t
@D17339 I hope you can reschedue the scheduled script using code :
m
It sounds like this should be a Map Reduce, but if you want/need to stick with a Scheduled Script, you will probably have to use a separate deployment