aaronesteban
New Member
I try to edit the crontab file to create con jobs by using ssh "sudo crontab -e" and "crontab -e", but I keep getting the following error message (or as shown in the image below):
And the file path location "/var/spool/cron/crontabs/" folder is empty. Shouldn't there be a cron file of some type to edit?
So what I'm trying to do is create cron jobs to handle my Mautic cron tasks/jobs as shown below:
php /var/www/aaronsnewsletters.com/public_html/bin/console mautic:segments:update
php /var/www/aaronsnewsletters.com/public_html/bin/console mautic:campaigns:update
php /var/www/aaronsnewsletters.com/public_html/bin/console mautic:campaigns:trigger
php /var/www/aaronsnewsletters.com/public_html/bin/console mautic:iplookup:download
php /var/www/aaronsnewsletters.com/public_html/bin/console mautic:broadcasts:send
php /var/www/aaronsnewsletters.com/public_html/bin/console mautic:maintenance:cleanup --days-old=60 --no-interaction
Do I need to somehow reinstall the crontab setup or how do I get back to being able to edit with nano? At this point I'm not able to edit the main crontab file & nor do I know where it is located.
Thanks for any support.
no crontab for root - using an empty one
crontab: installing new crontab
"/tmp/crontab.C7Hy04/crontab":22: bad minute
errors in crontab file, can't install.

And the file path location "/var/spool/cron/crontabs/" folder is empty. Shouldn't there be a cron file of some type to edit?
So what I'm trying to do is create cron jobs to handle my Mautic cron tasks/jobs as shown below:
php /var/www/aaronsnewsletters.com/public_html/bin/console mautic:segments:update
php /var/www/aaronsnewsletters.com/public_html/bin/console mautic:campaigns:update
php /var/www/aaronsnewsletters.com/public_html/bin/console mautic:campaigns:trigger
php /var/www/aaronsnewsletters.com/public_html/bin/console mautic:iplookup:download
php /var/www/aaronsnewsletters.com/public_html/bin/console mautic:broadcasts:send
php /var/www/aaronsnewsletters.com/public_html/bin/console mautic:maintenance:cleanup --days-old=60 --no-interaction
Do I need to somehow reinstall the crontab setup or how do I get back to being able to edit with nano? At this point I'm not able to edit the main crontab file & nor do I know where it is located.
Thanks for any support.