Add scheduler min and max to php api
Add min and max to scheduler java api