Scheduler and task manager need a lot of attention when you have many templates, especially if you are updating them due to your needs or updates on site that is used in template.
I think it would be very good feature for advanced user to be able to control running templates from external scripts. It could be done thru simple REST calls from any programming language on zenno server listening on specified port.
Some examples of calls that would make using zenno more effective:
template_name IS_RUNNIG - to check if it is running
template_name MAX_THREADS - set max threads
template_name START
template_name STOP
template_name SUCCESS_COUNT_TOBEDONE - how may success
template_name SUCCESS_COUNT_ALREADY - how may success already
template_name RUN_%XX%_TIMES_INTERVAL_%YY%_MINUTES/HOURS - some random execution
template_name RUN_%XX%_TIMES_DURING_%YY%_HOURS - some random execution
other to be discussed.
I know most of it can be done from .bat files, but it relies on IDs of templates already added in zenno, requiring us first to add template to and then export each template to bat file and process it.
Maybe the simplest way to implement it, would be to .bat files to rely on template names and not on IDs.
What do you think ?
I think it would be very good feature for advanced user to be able to control running templates from external scripts. It could be done thru simple REST calls from any programming language on zenno server listening on specified port.
Some examples of calls that would make using zenno more effective:
template_name IS_RUNNIG - to check if it is running
template_name MAX_THREADS - set max threads
template_name START
template_name STOP
template_name SUCCESS_COUNT_TOBEDONE - how may success
template_name SUCCESS_COUNT_ALREADY - how may success already
template_name RUN_%XX%_TIMES_INTERVAL_%YY%_MINUTES/HOURS - some random execution
template_name RUN_%XX%_TIMES_DURING_%YY%_HOURS - some random execution
other to be discussed.
I know most of it can be done from .bat files, but it relies on IDs of templates already added in zenno, requiring us first to add template to and then export each template to bat file and process it.
Maybe the simplest way to implement it, would be to .bat files to rely on template names and not on IDs.
What do you think ?