Added code for scheduling tasks in main.py
Passing parameter to sync scheduling job easy using lambda functions.