Additional content to text per minute
1, under the preparation of Shell scripts into the root directory and test.sh
Text content
/ Bin / echo "hello" >> /root/test.txt
2, edit regular tasks
crontab -e
*/1 * * * * /root/test.sh
3, see the regular tasks crontab -l
4, delete the scheduled task crontab -r
Note that if the file does not have permission test.sh
Change file permissions
chmod 777 test.sh
Reproduced in: https: //www.jianshu.com/p/8a691baf4794