*/1 * * * * [ `date +\%d -d tomorrow` -eq 31 ] && echo "Good morning." >> /data/test.txt
*/1 * * * * if [`date +\%d -d tomorrow` -eq 31]; then echo "Good morning." >> /data/test.txt fi
*/1 * * * * [ `date +\%d -d tomorrow` -eq 31 ] && echo "Good morning." >> /data/test.txt
*/1 * * * * if [`date +\%d -d tomorrow` -eq 31]; then echo "Good morning." >> /data/test.txt fi
非特殊说明,本博所有文章均为博主原创。