Thanks Thomas. That resolved the error with script.
Now, when I am going to schedule the job from admin console, I am seeing an error about missing application privileges while setting up the configuration tab to set up the start and end time for the schedule.
I am going to http://<WebServerHost>:80<SAPHANAinstance>/sap/hana/xs/admin/ and get the following errors on configuration tab.
As mentioned in the tutorial, we have applied roles sap.hana.xs.admin.roles::JobAdministrator and sap.hana.xs.admin.roles::HTTPDestAdministrator to our scheduling user.
http://help.sap.com/saphelp_hanaplatform/helpdata/en/62/15446213334d9fa96c662c18fb66f7/content.htm

