I have a
cron job in machine 1 that opens/close machine 2 for a few hours.
Now i deleted all
cron jobs in machine 1, so it wont open/close machine 2.
I have no
To delete all
crons in machine 1. I used:
sudo crontab -r
but for some reason the machine 2 continue to open/close
I even used to check
cron log on machine 1:
sudo cat /var/log/cron
I do NOT see the stop/start commands there at the log. So it seems
cron jobs does NOT open/shut machine 2.
Cron job was a root.
When executing the following commands:
sudo crontab -l and crontab -l
They give me: "no crontab for root" and "no crontab for centos" .
Executing the command:
sudo ls -l /var/spool/cron/
returns Total 0
SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root # For details see man 4 crontabs # Example of job definition: # .---------------- minute (0 - 59) # | .------------- hour (0 - 23) # | | .---------- day of month (1 - 31) # | | | .------- month (1 - 12) OR jan,feb,mar,apr ... # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat # | | | | | # * * * * * user-name command to be executed
Doing ls cron* inside etc folder shows:
cron.deny crontab cron.d: 0hourly cron.daily: logrotate man-db.cron cron.hourly: 0anacron cron.monthly: cron.weekly:
Previously it was a Root cron job. I do not know where to go from here.