Can anybody recommend article SS 2.0 how to start ...
# general
r
Can anybody recommend article SS 2.0 how to start several Scheduled script, because i have error "SSS_USAGE_LIMIT_EXCEEDED"?
b
SSS_USAGE_LIMIT_EXCEEDED means your scheduled script ran out of points
you either need to use less points, reschedule when you are running low (which requires you to write your script so that it can handle restarting), or you can use a map/reduce script
r
as I understood I can start another Scheduled script
maybe you have example?
b
if you dont know what you are doing, i would recommend starting at the map/reduce
r
i want to save a lot of records, but got this error
b
but reschedling involves using task.ScheduledScriptTask
r
i saw this help article, but example is very simple
b
thats all there is to rescheduling
s
Probably would make more sense to do this in a map/reduce as battk suggested.
c
SS2 for scheduled script does not support yielding as did SS1, and generally restarting a scheduled script will start it all over again. Unless you are doing something where the amount of processing is reduced with each iteration of the scheduled script execution, it sounds like map/reduce is the better approach than a schedule script. They are pretty much identical in that each can be scheduled or called as a task, but map/reduce is designed to handle large/long execution cycles and automatically yield for you.