Closed iHTCboy closed 1 year ago
django-crontab
CRONJOBS = [ ('*/1 * * * *', 'SchedulerTask.views.AutoSubmit', '>> /Destop/task.log'), ]
user print other characters, error:
'ascii' codec can't encode characters in position 685-689: ordinal not in range(128)
Can I only encode the contents of each output?
please use print statement inside you function, because here logger lib not working.
Environment & Versions
Settings
django-crontab
settings:Details
user print other characters, error:
Can I only encode the contents of each output?