Last active
July 27, 2019 08:38
-
-
Save Hassanzadeh-sd/dca37c27d572fa8f46a639a31ed60a43 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from celery import shared_task | |
| import time | |
| @shared_task | |
| def celery_task(counter): | |
| email = "[email protected]" | |
| time.sleep(30) | |
| return '{} Done!'.format(counter) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment