Date math in Linux shell script? | Ask Dave Taylor

Date math in Linux shell script? | Ask Dave Taylor

瀏覽:455
日期:2024-04-24
Within a Linux shell script to be used as a cron job, how do I calculate the current date, the current date – n days, and the current date + n days ? This script is to be used to partition an oracle database, and automatically drop old partitions (n+1) an...看更多