hi
I can't find solution to call the function protected by auth from
cron.

I have defined auth group managers, and decorated function with

@auth.requires(not request.wsgi or auth.has_membership('managers'))

unfortunatelly, that is not working from cron.

i havetried also

@auth.requires(not request.env or auth.has_membership('supervisors'))

the same...

how to achieve it?



Reply via email to