To run a cron job every minute you can create a new file in the folder:
/etc/cron.d
The entry in this file should be in the format:
* * * * * root /home/xxadmin/project/ascript.sh
You need a Line Feed (LF) at the end to make sure that cron can read the entry. Make sure that it is not a Windows line ending (CRLF)
No comments:
Post a Comment