?
Archer ?
 
 Нvvр Хуудас
 Танилцуулга
 Толь Бичиг
 Монголдуу
 Асуулт Самбар
 Фото Сурвалжлага
 Asuult.NET Live TV!
 УБ-д Бэлэг Хүргэх!
 Утасны Карт!
 Links Вэб Хаяг
 Хамтран Ажиллах
 Ангилал
 Компъютер
 Интернэт
 Технологи
 Ахуй Амьдрал
 Уран Зохиол
  ..
 Yйчилгээ
 Утасны Кард
 Бэлэг Хvргvvлэх
 Вэб Хостинг
  ..

 


Preventing Perfectionism?

 

.

2002 11- 19.

"Archer" -

:
v v (, , , , , ) v . v , . v , , , (bug), v , 뺺 ( , hdd ) , , , v .
v vv 纺 v v , v .

:
Linux , , vv , vv Ftp (file fransfer protocol) . (task scheduler) .

:
Linux GNU gcc, GNU g++ C build Make .
configuration file - 뺺 GNU lex, GNU yacc .

:
Linux Vixie Cron , .

:
archer
#adduser archer
v
#passwd archer

#cd <archer >

#tar xzf archer-1.0.tar.gz

#cd archer-1.0
, (compile, build) (binary)
#make

#make install

:
v vv . Yv :
#crontab -u archer -e
* * * * /usr/local/archer/archerd

Ctrl+q+w .

v archerd, crond . v . Yv :

#cd /usr/local/archer
(configuration file) vv
#vi archer.conf
vv
#./archerd
(task scheduler daemon application) vv
#/etc/init.d/crond restart

, vv , :
Linux v , vv v /etc/*, /usr/local/*, /home/*, v /var/spool/mail/*, ( MySQL /usr/local/mysql/data, /var/spool/mysql/* .), /var/www/html/* v 㺺 vv .

, /va/spool/mail , /etc , v v , vv vv v .

Archer 人 rcher.conf .
:
/var/spool/mail mailbackup v /home/backups/mail/ <>-<>-<>.tar.gz . <>-<>-<> 2002-November-12.tar.gz .

workname "mailbackup" {
format = "%Y-%M-%B";
srcpath = "/var/spool/mail";
destpath = "/home/backups/mail";
day = "*";
};

. Yv day="*"; v . Yv v week = "*", v month = "*" . ftp.yourhost.edu vv ftp :

workname "mailbackup" {
format = "%Y-%M-%B";
srcpath = "/var/spool/mail";
destpath = "/home/backups/mail";
day = "*";

ftphost = "ftp.yourhost.edu";
ftpdestpath = "/home/myname/mybackups/mail";
ftpusername = "myname";
ftpuserpass = "mypass";
};

----------

ftpdestpath = "/home/myname/mybackups/mail"; (remote ftp server) (destination directory path) .

archer.conf c .

: Linux Vi .
$vi archer.conf

v vv:
, , .
:

vv
month = "*"; v
month = "Jan, Mar, Apr, Oct"; 1, 3, 4, 10 v
month = "Jan-Jun"; 1 6 v
week = "*"; v
week = "Mon, Wed, Fri"; , , v
week = "Mon-Fri"; v
day = "*"; v
day = "1, 12, 31"; 1, 12, 31
day = "1-12"; 1 12 v vv

.

:

1. (archer.conf) - , 뺺 .
2. vv .
3. vv v .
4. v script .
5. v , vv vv .
6. v v v, (archer.log) .

v

vv Linux v 㺺 , vv , . www.asuult.net, www.erkhemee.com Open source software vv .


!

 

vv

 

Cx
A:
, vv ,
v vv
v
vv
 
 
 
Posted on Dec 03, 2002.

Advertisement:

 


Asuult.NET. CR. 2000-2006