Tema: Re: Q: eth1 ar wlan0 aktyvavimas\stabdymas pagal schedule task
Autorius: Paul_
Data: 2014-03-24 14:59:40
On 03/24/2014 11:50 AM, vytjon wrote:
> On 2014.03.24 11:38, Paul_ wrote:
>> Per terminal "sudo ifconfig eth1 up" komanda veikia, bet per Scheduled
>> tasks nesuveikia.
>> Ka patartumete taisyti, gal ka praleidau?
>
>   Kas rašoma /var/log/syslog? Plius pasiskaitymui 
> http://ubuntuforums.org/showthread.php?t=1732195

Istrauka is /var/log/syslog :

Mar 24 14:48:42 G530 /usr/bin/crontab[19117]: (paul) LIST (paul)
Mar 24 14:48:51 G530 /usr/bin/crontab[19122]: (paul) LIST (paul)
Mar 24 14:49:00 G530 /usr/bin/crontab[19127]: (paul) LIST (paul)
Mar 24 14:49:01 G530 CRON[19131]: (paul) CMD (/usr/bin/python 
/usr/share/gnome-schedule/xwrapper.py c 1 # JOB_ID_1)
Mar 24 14:49:01 G530 CRON[19130]: (CRON) info (No MTA installed, 
discarding output)
Mar 24 14:49:09 G530 /usr/bin/crontab[19141]: (paul) LIST (paul)
Mar 24 14:49:18 G530 /usr/bin/crontab[19146]: (paul) LIST (paul)
Mar 24 14:49:27 G530 /usr/bin/crontab[19152]: (paul) LIST (paul)
Mar 24 14:49:36 G530 /usr/bin/crontab[19157]: (paul) LIST (paul)

14:49 turejo paleisti  scripta, kuris randasi /home/paul/eth0 command 
down.sh
scriptas pakeistas i executable as program

Scripto turinys:

#!/bin/bash

ifconfig eth0 down