Hi, I have configured the modern authentication for O365 using App::wsgetmail module, everything works fine when I run the the wsgetmail --config=config1.json via terminal it can access the inbox and create the ticket and mark email as read but when I am trying to use the crontab to do the same work periodically getting no result.
the corntab works with other cornjobs that I have identified for other tasks and only it is not working with wsgetmail.
the crontab looks like this:
*/1 * * * * wsgetmail --config=/opt/rt4/etc/wsgetmail_config/config1.json
I am using RT4
The config1.json file is executable
I am using root user for configurations
Any idea about this issue that I am facing with?
Thanks in advance!