@dustinb3403 said in Need some help with crontab:
Ok and that is what it was.
Simply needed to make a bash script out of it and have it scheduled to run, rather than using the commands directly in cron.
Problem solved.
Solution:
pwd /usr/bin/local touch expiring-alert.sh vi expiring-alert.sh /usr/bin/php /var/www/html/snipeit/artisan snipeit:expiring-alerts sudo vi /etc/crontab 35 * * * 1 <user> /usr/local/bin/expiring-alert.shPresumably changing this to be @daily or @weekly would work as well.
MOst of the time that is how I have it setup on my crontab, same for my certbot scripts too.