SORU
21 EKİM 2010, PERŞEMBE


bu gece yarısı bir ruby komut dosyası her gün çalışacak cron

Crontab iyi bir seçim olacaktır ama nasıl bu satır yazayım ve sunucuda bile koyabilirim duydum

CEVAP
21 EKİM 2010, PERŞEMBE


Crontab nedir ve Ubuntu üzerinde kullanmak için nasıl Here's a good tutorial. Crontab satırı bu gibi bir şey olacaktır

00 00 * * * ruby path/to/your/script.rb

(00 00 gece yarısı--0 dakika 0 saat ve her ay *s demek her gün gösterir.)

Syntax: 
  mm hh dd mt wd  command

  mm minute 0-59
  hh hour 0-23
  dd day of month 1-31
  mt month 1-12
  wd day of week 0-7 (Sunday = 0 or 7)
  command: what you want to run
  all numeric values can be replaced by * which means all

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Epic Tutorials for iPhone, iPad and iOS

    Epic Tutoria

    18 EYLÜL 2011
  • Microsoft Help & Training Videos

    Microsoft He

    31 Mart 2009
  • RayperEnglishKnight

    RayperEnglis

    24 Kasım 2008