If we arre using hive for data cleansing and data preparation part and spark for data analysis part then how we can schedule our hive and spark jobs in way that data first automatically get prepared by hive and then spark jobs for data analysis if we are receiving data on daily basis.