Example #1
0
def retry_deferred():
    from mailer.management.commands.retry_deferred import Command
    print("Running retry deferred ...\n")
    cmd = Command()
    cmd.handle_noargs()
Example #2
0
def send_mail():
    from mailer.management.commands.send_mail import Command
    print("Running send_mail task...\n")
    cmd = Command()
    cmd.handle_noargs()
Example #3
0
def emit_notices():
    from notification.management.commands.emit_notices import Command
    print("Running emit_notice task...\n")
    cmd = Command()
    cmd.handle_noargs()
Example #4
0
def distribute_offers():
    from offer.management.commands.distribute import Command
    print("Distributing offers: running 2-minute task...\n")
    cmd = Command()
    cmd.handle_noargs()
Example #5
0
def reset_offer_count():
    from offer.management.commands.reset_offer_counts import Command
    print("Resetting offer counts...\n")
    cmd = Command()
    cmd.handle_noargs()
Example #6
0
def retry_deferred():
		from mailer.management.commands.retry_deferred import Command
		print("Running retry deferred ...\n")
		cmd = Command()
		cmd.handle_noargs()
Example #7
0
def process_sms():
    from offer.management.commands.check_sms import Command
    print("Running 1-minute task...\n")
    cmd = Command()
    cmd.handle_noargs()
Example #8
0
def emit_notices():
		from notification.management.commands.emit_notices import Command
		print ("Running emit_notice task...\n")
		cmd = Command()
		cmd.handle_noargs()
Example #9
0
def send_mail():
		from mailer.management.commands.send_mail import Command
		print ("Running send_mail task...\n")
		cmd = Command()
		cmd.handle_noargs()
Example #10
0
def reset_offer_count():
		from offer.management.commands.reset_offer_counts import Command
	 	print ("Resetting offer counts...\n")	
		cmd = Command()
		cmd.handle_noargs()
Example #11
0
def distribute_offers():
		from offer.management.commands.distribute import Command
		print("Distributing offers: running 2-minute task...\n")
		cmd = Command()
		cmd.handle_noargs()
Example #12
0
def process_sms():
		from offer.management.commands.check_sms import Command
		print("Running 1-minute task...\n")
		cmd = Command()
		cmd.handle_noargs()