Example #1
0
#-*- coding: utf-8 -*-
from utils import Superviser
from sites import (BCP, Sal, Sed, Econ, Sci, Med, Dent, Pharm, Eng, Agri,
                   Intcul, IS, Lifesci, Kankyo, Bme)

if __name__ == "__main__":
    _bcp = BCP()
    _sal = Sal()
    _sed = Sed()
    _econ = Econ()
    _sci = Sci()
    _med = Med()
    _dent = Dent()
    _pharm = Pharm()
    _eng = Eng()
    _agri = Agri()
    _intcul = Intcul()
    _is = IS()
    _lifesci = Lifesci()
    _kankyo = Kankyo()
    _bme = Bme()
    targets = [
        _bcp, _sal, _sed, _econ, _sci, _med, _dent, _pharm, _eng, _agri,
        _intcul, _is, _lifesci, _kankyo, _bme
    ]

    supervise = Superviser(targets=targets, timers=[], posting=[])
    supervise.call()
Example #2
0
#-*- coding: utf-8 -*-
from utils import Superviser
from sites import BcpEn, GLC, EngEn
from database import DataBase

if __name__ == "__main__":
    db = DataBase()
    db.start()

    _bcp = BcpEn()
    _glc = GLC()
    _eng = EngEn()
    targets = [_bcp, _glc, _eng]

    supervise = Superviser(targets=targets, timers=[], posting=[])
    supervise.reload()
Example #3
0
#-*- coding: utf-8 -*-
from utils import Superviser
from sites import BcpEn, GLC, EngEn

if __name__ == "__main__":
    _bcp = BcpEn()
    _glc = GLC()
    _eng = EngEn()
    targets = [_bcp, _glc, _eng]

    supervise = Superviser(targets=targets, timers=[], posting=[])
    supervise.update()
Example #4
0
#-*- coding: utf-8 -*-
from utils import Superviser
from sites import (BCP, Sal, Sed, Econ, Sci, Med, Dent, Pharm, Eng, Agri,
                   Intcul, IS, Lifesci, Kankyo, Bme)

if __name__ == "__main__":
    _bcp = BCP()
    _sal = Sal()
    _sed = Sed()
    _econ = Econ()
    _sci = Sci()
    _med = Med()
    _dent = Dent()
    _pharm = Pharm()
    _eng = Eng()
    _agri = Agri()
    _intcul = Intcul()
    _is = IS()
    _lifesci = Lifesci()
    _kankyo = Kankyo()
    _bme = Bme()
    targets = [
        _bcp, _sal, _sed, _econ, _sci, _med, _dent, _pharm, _eng, _agri,
        _intcul, _is, _lifesci, _kankyo, _bme
    ]
    timers = ["19:30"]
    posting = ["20:00"]

    supervise = Superviser(targets=targets, timers=timers, posting=posting)
    supervise.run()
Example #5
0
#-*- coding: utf-8 -*-
from utils import Superviser
from sites import (TU, Sal, Sed, Law, Econ, Sci, Med, Dent, Pharm,
                   Eng, Agri, Intcul, IS, Lifesci, Kankyo, Bme)


if __name__ == "__main__":
    _tu = TU()
    _sal = Sal()
    _sed = Sed()
    _law = Law()
    _econ = Econ()
    _sci = Sci()
    _med = Med()
    _dent = Dent()
    _pharm = Pharm()
    _eng = Eng()
    _agri = Agri()
    _intcul = Intcul()
    _is = IS()
    _lifesci = Lifesci()
    _kankyo = Kankyo()
    _bme = Bme()
    targets = [_tu, _sal, _sed, _law, _econ, _sci, _med, _dent, _pharm,
               _eng, _agri, _intcul, _is, _lifesci, _kankyo, _bme]
    timers = ["09:00", "10:00", "11:00", "12:00", "13:00", "14:00", "15:00",
              "16:00", "17:00", "18:00", "19:00", "20:00","21:00"]

    supervise = Superviser(targets=targets, timers=timers)
    supervise.run()