02-17-2023, 06:15 AM
(02-16-2023, 10:05 PM)Corsari Wrote: OkI had some trouble when I initially set this up. The problem was how I was referencing index.php and passing in the imap_fetcher argument. I'm not sure if it will help you, but this is what I currently have set up on my hosted server, and it's working fine:
after some time I have understood the error message and the logic
Added a new private department and called it "emails"
Code:
MAILTO="[email protected]"
SHELL="/bin/bash"
*/5 * * * * (/opt/php/7.4/bin/php -f '/var/www/httpdocs/helpdesk/index.php' -- 'imap_fetcher') > /dev/null