Exemplo n.º 1
0
def fetch_all():
    from ct_projects.connectors.cloud_teams.cloud_teams import CloudTeamsConnector
    import time

    # wait for the change to take place
    time.sleep(5)
    CloudTeamsConnector().fetch_all()

    # send campaigns
    Campaign.send_all()
Exemplo n.º 2
0
def fetch_all():
    from ct_projects.connectors.team_platform.cloud_teams import CloudTeamsConnector
    import time

    # wait for the change to take place
    time.sleep(5)
    CloudTeamsConnector().fetch_all()

    # send campaigns
    Campaign.send_all()
Exemplo n.º 3
0
def on_profile_info_updated(sender, instance, created, **kwargs):
    # send campaigns
    Campaign.send_all()
Exemplo n.º 4
0
 def send_all_campaigns():
     Campaign.send_all()