コード例 #1
0
ファイル: tasks.py プロジェクト: kwantopia/shoppley-migrate
def retry_deferred():
    from mailer.management.commands.retry_deferred import Command
    print("Running retry deferred ...\n")
    cmd = Command()
    cmd.handle_noargs()
コード例 #2
0
ファイル: tasks.py プロジェクト: kwantopia/shoppley-migrate
def send_mail():
    from mailer.management.commands.send_mail import Command
    print("Running send_mail task...\n")
    cmd = Command()
    cmd.handle_noargs()
コード例 #3
0
ファイル: tasks.py プロジェクト: kwantopia/shoppley-migrate
def emit_notices():
    from notification.management.commands.emit_notices import Command
    print("Running emit_notice task...\n")
    cmd = Command()
    cmd.handle_noargs()
コード例 #4
0
ファイル: tasks.py プロジェクト: kwantopia/shoppley-migrate
def distribute_offers():
    from offer.management.commands.distribute import Command
    print("Distributing offers: running 2-minute task...\n")
    cmd = Command()
    cmd.handle_noargs()
コード例 #5
0
ファイル: tasks.py プロジェクト: kwantopia/shoppley-migrate
def reset_offer_count():
    from offer.management.commands.reset_offer_counts import Command
    print("Resetting offer counts...\n")
    cmd = Command()
    cmd.handle_noargs()
コード例 #6
0
ファイル: tasks.py プロジェクト: kwantopia/shoppley-migrate
def retry_deferred():
		from mailer.management.commands.retry_deferred import Command
		print("Running retry deferred ...\n")
		cmd = Command()
		cmd.handle_noargs()
コード例 #7
0
ファイル: tasks.py プロジェクト: kwantopia/shoppley-migrate
def process_sms():
    from offer.management.commands.check_sms import Command
    print("Running 1-minute task...\n")
    cmd = Command()
    cmd.handle_noargs()
コード例 #8
0
ファイル: tasks.py プロジェクト: kwantopia/shoppley-migrate
def emit_notices():
		from notification.management.commands.emit_notices import Command
		print ("Running emit_notice task...\n")
		cmd = Command()
		cmd.handle_noargs()
コード例 #9
0
ファイル: tasks.py プロジェクト: kwantopia/shoppley-migrate
def send_mail():
		from mailer.management.commands.send_mail import Command
		print ("Running send_mail task...\n")
		cmd = Command()
		cmd.handle_noargs()
コード例 #10
0
ファイル: tasks.py プロジェクト: kwantopia/shoppley-migrate
def reset_offer_count():
		from offer.management.commands.reset_offer_counts import Command
	 	print ("Resetting offer counts...\n")	
		cmd = Command()
		cmd.handle_noargs()
コード例 #11
0
ファイル: tasks.py プロジェクト: kwantopia/shoppley-migrate
def distribute_offers():
		from offer.management.commands.distribute import Command
		print("Distributing offers: running 2-minute task...\n")
		cmd = Command()
		cmd.handle_noargs()
コード例 #12
0
ファイル: tasks.py プロジェクト: kwantopia/shoppley-migrate
def process_sms():
		from offer.management.commands.check_sms import Command
		print("Running 1-minute task...\n")
		cmd = Command()
		cmd.handle_noargs()