59  23 * * * if [ `date +%d -d tomorrow` = 01 ]; then; command(/usr/bin/curl -s -o temp.txt  http://o2o.szmall.com/api/Sys/imoprt_money.html)     (解释:就是相当于如果明天是1号,那肯定今天是月末啊 然后执行命令)

或者写成

Linux crontab 在每月最后一天执行

 

 

打印明天日期

Linux crontab 在每月最后一天执行

打印昨天日期

Linux crontab 在每月最后一天执行

 

相关文章:

  • 2021-11-19
  • 2021-11-19
  • 2021-06-27
  • 2022-12-23
  • 2022-01-04
  • 2021-08-09
  • 2021-12-05
猜你喜欢
  • 2021-09-01
  • 2022-12-23
  • 2022-02-12
  • 2022-01-28
  • 2022-12-23
  • 2021-08-19
  • 2021-11-19
相关资源
相似解决方案