Sendy cronjob
*/5 * * * * /usr/bin/curl --silent https://URL/scheduled.php &> /var/log/sendy.log
Or
*/5 * * * * /usr/bin/php /var/www/html/scheduled.php > /dev/null 2>&1 */2 * * * * /usr/bin/php /var/www/html/import-csv.php > /dev/null 2>&1
if you are installing as user root, run cronjob as web server user.
On Ubuntu
crontab -e -u www-data
Leave a Reply