|
@ -38,7 +38,6 @@ class Cron(models.Model): |
|
|
_('Only the admin user is allowed to ' |
|
|
_('Only the admin user is allowed to ' |
|
|
'execute inactive cron jobs manually')) |
|
|
'execute inactive cron jobs manually')) |
|
|
|
|
|
|
|
|
_logger.warn(self.__dict__) |
|
|
|
|
|
try: |
|
|
try: |
|
|
# Try to grab an exclusive lock on the job row |
|
|
# Try to grab an exclusive lock on the job row |
|
|
# until the end of the transaction |
|
|
# until the end of the transaction |
|
|