import xmlrpclib
username = 'admin' #the user
pwd = 'admin@123'      #the password of the user
dbname = 'sam_phaseI'    #the database
# Server Connectivity

sock_common = xmlrpclib.ServerProxy ('http://localhost:8069/xmlrpc/common')

uid = sock_common.login(dbname, username, pwd)

sock = xmlrpclib.ServerProxy('http://localhost:8069/xmlrpc/object')

## Scheduler List#
sock.execute(dbname, uid, pwd, 'kg.scheduler', 'weekly_excel_report_deletion')
sock.execute(dbname, uid, pwd, 'kg.scheduler', 'auto_primecost_delete')
