Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Tiedostojen/scriptien autom. suorittaminen *ratkaistu*
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Finnish
View previous topic :: View next topic  
Author Message
tuuletin
n00b
n00b


Joined: 05 Feb 2006
Posts: 22

PostPosted: Sun Jul 16, 2006 2:38 pm    Post subject: Tiedostojen/scriptien autom. suorittaminen *ratkaistu* Reply with quote

Pitäisi saada gentoo suorittamaan /bin/yasuc-niminen tiedosto (uptime-project client) joka 30 min.
Kuinka tuo onnistuisi?


Last edited by tuuletin on Sun Jul 16, 2006 4:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
Zarhan
l33t
l33t


Joined: 27 Feb 2004
Posts: 924

PostPosted: Sun Jul 16, 2006 3:54 pm    Post subject: Reply with quote

Cronilla. Asenna vixie-cron jos ei ole jo ja muuta /etc/crontabia (jos haluat ajettavan roottina) tai katso man-sivuilta miten tehdään käyttäjäkohtaisia crontabeja.
Back to top
View user's profile Send private message
tuuletin
n00b
n00b


Joined: 05 Feb 2006
Posts: 22

PostPosted: Sun Jul 16, 2006 4:03 pm    Post subject: Reply with quote

http://www.bigbiz.com/cgi-bin/manpage?1+crontab

Tuotako tarkoitit?
Voisitko helppiä vähän lisää?

[toimiiko?]Eli teoriassa: crontab [ -u root ] /bin/yasuc[/toimiiko?]
Back to top
View user's profile Send private message
Cougar81
n00b
n00b


Joined: 08 Nov 2002
Posts: 42
Location: Helsinki, Finland

PostPosted: Sun Jul 16, 2006 4:19 pm    Post subject: Reply with quote

Ensin ajat
Code:
crontab -e

joka avaa editorin (oletuksena nano), jonne lisäät seuraavan rivin:
Code:
0,30 * * * *       /bin/yasuc

Tallenna ennen kuin poistut editorista.
Back to top
View user's profile Send private message
tuuletin
n00b
n00b


Joined: 05 Feb 2006
Posts: 22

PostPosted: Sun Jul 16, 2006 4:33 pm    Post subject: Reply with quote

Suuret kiitokset auttajille!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Finnish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum