コード例 #1
0
ファイル: 2020.py プロジェクト: Siegfried0988/carrefour
from selenium import webdriver
import time
import os
from basicSettings import RunJob

rj = RunJob()

#2000 (TW) COD Check dly fils are arrived at CM+
driver1 = rj.driverPath(
    'https://support-rundeck-tw.carrefour.com/project/Daily_Monitor/job/show/063ed7c2-fc38-432a-9218-6a68ddd573f7'
)
rj.executeJob(driver1)

#check EXD files arrived to stores--TW
driver2 = rj.driverPath(
    'https://support-rundeck-tw.carrefour.com/project/Daily_Monitor/job/show/e8004393-6c45-4669-a01c-d216236bce3b'
)
rj.executeJob(driver2)
コード例 #2
0
ファイル: 0230.py プロジェクト: Siegfried0988/carrefour
from selenium import webdriver
import time
import os
from basicSettings import RunJob

rj = RunJob()

#check EOD2 finish or not--TW
driver = rj.driverPath(
    'https://support-rundeck-tw.carrefour.com/project/Daily_Monitor/job/show/6dab64a4-548f-4442-af8e-e504bf043b23'
)

rj.executeJob(driver)
コード例 #3
0
ファイル: 0600.py プロジェクト: Siegfried0988/carrefour
from selenium import webdriver
import time
import os
from basicSettings import RunJob

rj = RunJob()

#Update Job History to Central DB
driver1 = rj.driverPath(
    'https://support-rundeck-tw.carrefour.com/project/Daily_Monitor/job/show/3bfd8b64-49cf-446f-8ca2-095696ccbe3e'
)
rj.executeJob(driver1)

#Update Job History - Integrate and Extract Report
driver2 = rj.driverPath(
    'https://support-rundeck-tw.carrefour.com/project/Daily_Monitor/job/show/ecd3ab85-875a-447c-87a6-e736a105cd1b'
)
rj.executeJob(driver2, nightShift=True)