Scheduled Task - Each 10 seconds

Could I get a sample how to set up scheduled task executed each 10 seconds?

If you mean Windows server TaskSheduler then the smallest unit for repeating the task is 1 minute. If you want it more often, you can create several tasks with 10s gap and repeat it every minute.

But you can try 3rd party tools like VISUALCRON.