1#!/usr/bin/env python 2# -*- coding: utf-8 -*- 3 4import s2hdb 5from datetime import datetime as dt 6from operator import add 7import numpy as np 8import subprocess 9 10 11path = “/home/dbcon/0615auto_dl_h.py” 12# 13# Salesforce handle Functions 14# 15def sf_get_last_modified_date(): 16 sf = s2hdb.sf_get_descriptor() 17 q = "SELECT LastModifiedDate FROM Account " + \ 18 "ORDER BY LastModifiedDate