nohup [路徑/檔案]
#在主機上永遠執行檔案or Process,尾巴加上& 代表是背景執行,沒加的話會在終端機頁面跑
--刪除資料庫--
DELETE FROM `CUST_DAILY` WHERE `CD_OP_DATE` <'2009-12-07'
DELETE FROM `ORDER_HOLD_HISTORY` WHERE `OM_OP_DATE` <'2009-12-07'
DELETE FROM `ORDER_MSTR` WHERE `OM_OP_DATE` <'2009-12-07'
DELETE FROM `PROD_DAILY` WHERE `PD_OP_DATE` < '2009-12-07'
沒有留言:
張貼留言