where will i create a ajax schedular program and where will i execute?
You will need a webserver with PHP enabled.
For development purposes, you can run the project using the built-in PHP webserver:
Linux:
php -S 127.0.0.1:8090 -t /path/to/project
Windows:
php.exe -S localhost:8090 -t D:\path-to-project