These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Cronjob and mysql connection on the new forum.
i've a cronjob that check db and send email to an user if credit value is less than 10: inside: webmin -> Scheduled Cron Jobs: 1. Execute cron job as: what user have i to select to run cronjbo? root or the user that connect to db and own the domain?
for now i've used root as user and that command, but nothing happens. inside the php script there is an "echo" that print something, but i've a sent_emai_log.txt empty.
thanks
neorf
You may want to take a peek at whichever log in /var/log that keeps track of cron jobs (it differs depending on your distro) -- it's possible an error is being logged into there.
-Eric