I need to run a script every minute.
I have followed many guides and I have done exactly what they were told to do. But it didn't get it working.
I first set up a simple command to run every minute.
This is the command:
Code: Select all
2 * * * * echo "Hello"
Code: Select all
sudo systemctl restart crond.service
Code: Select all
crontab -l
Code: Select all
2 * * * * echo "Hello"
This is my Centos version:
Code: Select all
centos-release-8.2-2.2004.0.1.el8.x86_64
Any idea?
Thanks