Tema: Re: Q: eth1 ar wlan0 aktyvavimas\stabdymas pagal schedule task
Autorius: Mindaugas
Data: 2014-03-24 17:39:25
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="1265.19">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 15.0px; font: 12.0px Helvetica}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 15.0px; font: 11.0px Menlo}
p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 15.0px; font: 12.0px Helvetica; min-height: 14.0px}
p.p4 {margin: 0.0px 0.0px 0.0px 12.0px; line-height: 14.0px; font: 12.0px Helvetica; color: #011892}
p.p5 {margin: 0.0px 0.0px 0.0px 12.0px; line-height: 14.0px; font: 12.0px Helvetica; color: #011892; min-height: 14.0px}
p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 14.0px; font: 12.0px Helvetica; min-height: 14.0px}
span.s1 {font: 11.0px Menlo}
</style>
</head>
<body>
<p class="p1">vienas galimas atvejis, kad crontabas veikia ne root teisėmis.</p>
<p class="p1">Siūlau terminale sudo su ir tada crontab -e</p>
<p class="p1">nes iš pateikto logo matyti visur user paul, pažiūėjau viename serveryje syslog (cronjob root teisėmis veikiantį) logą ir matau -&gt; <span class="s1">CRON[20116]:(root)</span></p>
<p class="p2">Gal čia ir problema.</p>
<p class="p3"><br></p>
<p class="p1">On 2014-03-24 10:18:31 +0000, Audrys said:</p>
<p class="p3"><br></p>
<p class="p4">nurodyt pilnus kelius?</p>
<p class="p5"><br></p>
<p class="p4">"Paul_"<span class="Apple-converted-space">  </span>wrote in message news:lgoueq$9s1$1@trimpas.omnitel.net...<span class="Apple-converted-space"> </span></p>
<p class="p4">Sveiki,</p>
<p class="p5"><br></p>
<p class="p4">Prireike viena is kompu periodiskai pasiekti per interneta ir automatiskai vel atsijungtu.</p>
<p class="p4">Issirasiau Scheduled tasks programele is Ubuntu software centre. Programele pasirode paprasta, bet nepavyko.</p>
<p class="p4">Suvedziau recurrent i command: "sudo ifconfig eth1 up", x application, nurodziau startavimo laika.</p>
<p class="p5"><br></p>
<p class="p4">Per terminal "sudo ifconfig eth1 up" komanda veikia, bet per Scheduled tasks nesuveikia.</p>
<p class="p4">Ka patartumete taisyti, gal ka praleidau?</p>
<p class="p5"><br></p>
<p class="p4">Aciu</p>
<p class="p6"><br></p>
</body>
</html>