Forums Search Login Register
New Posts Todays Posts Find Users Posts Unanswered Threads Help Mark Forums as Read

Thread Options  Subscribe to this thread Subscribed Users  Add Reply 
Posts: 1,386
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):


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/ mautic:segments:update
php /var/www/ mautic:campaigns:update
php /var/www/ mautic:campaigns:trigger
php /var/www/ mautic:iplookup:download
php /var/www/ mautic:broadcasts:send
php /var/www/ 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.
10-06-2020, 01:14 PM
Subscribe to this thread Subscribed Users  Add Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Edit .profile with recovery/bootable USB oharrisonholmesh 0 3 10-22-2020 11:26 AM
Last Post: oharrisonholmesh
  [xubuntu] How to reduce distortion in wav file? jaecherio49 0 11 10-13-2020 07:40 PM
Last Post: jaecherio49
  [ubuntu] missing cups/filter file tsergiohaynesz 0 8 10-11-2020 03:00 PM
Last Post: tsergiohaynesz cannot open shared object file meveliafritzm 0 9 09-30-2020 07:12 AM
Last Post: meveliafritzm
  Converting PCL file to PDF on Ubuntu system - ghostpcl not working - alternatives? SachaL1999 0 3 09-29-2020 04:44 PM
Last Post: SachaL1999
  Closing a folder right after opening a file CynthiaA1962 0 8 09-24-2020 09:37 AM
Last Post: CynthiaA1962
  [ubuntu] pdftk "Error: Unable to find file." on ubuntu 20.04 wsusannahmccyyy 0 23 09-04-2020 06:44 PM
Last Post: wsusannahmccyyy
  [ubuntu] Attempting to create bootable Flash Drive for general use Bergerac 0 21 08-27-2020 12:47 PM
Last Post: Bergerac
  Correct way to edit file Gerhard1 0 19 08-27-2020 06:20 AM
Last Post: Gerhard1
  Ubuntu 20.04 How to create a new folder MarkC1942 0 15 08-21-2020 10:15 AM
Last Post: MarkC1942

Forum Jump:

User(s) browsing this thread: 1 Guest(s)

Contact Us Privacy Policy Top RSS
Forum Software By: MyBB, © 2002-2020