PHP Indonesia - Facebook | PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ | |
script ini saya simpan dengan format .bat dan saya... Aug 25th 2013, 14:20, by Ang Ga | script ini saya simpan dengan format .bat dan saya jalankan di scheduled tasks kok gak fungsi deletenya ya?mohon bantuannya..... <?php require('../includes/connection.php'); mysql_query("DELETE FROM pemesanan WHERE is_confirm=0 AND created<DATE_FORMAT(NOW() - INTERVAL 24 HOUR, '%Y-%m-%d %H:%i:%s')"); ?> |
| | Mas, file .bat sama .php interpreter dan syntaxnya berbeda.
Semoga nangkep maksud saya |
| | jadi ..kira2 (kira-kira aja gak papa 'kan?) yang dijalankan di task scheduler itu file *.bat atau file *.php? tau sintak di file *.bat dan tau cara njalanin file php via CLI 'kan? |
| | pake window or linux gan ? klo pake window coba pake aplikasi wget terus di task schedule
script aga tetep format .php | | |
|
Tidak ada komentar:
Posting Komentar