home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   LINUX-UBUNTU      The Ubuntu Linux Distribution Discussion      10,769 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 8,365 of 10,769   
   diesch@spamfence.net to All   
   Re: starting a console application on fi   
   06 Feb 07 01:46:34   
   
   Path: number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.co   
   !nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfe   
   d.freenet.de!news.albasani.net!dieschf.news.arcor.de!not-for-mail   
   From: Florian Diesch    
   Newsgroups: alt.os.linux.ubuntu   
   Subject: Re: starting a console application on first login   
   Date: Tue, 06 Feb 2007 07:46:33 +0100   
   Organization: albasani.net   
   Lines: 55   
   Message-ID: <20070206064633.4CAF.0.NOFFLE@dieschf.news.arcor.de>   
   References:    
       
       
   Reply-To: Florian Diesch    
   Mime-Version: 1.0   
   Content-Type: text/plain; charset=us-ascii   
   X-Trace: news.albasani.net S+7m3DcesbAIAX6f5aevPHycRzt8YahC+Wd1l   
   vYwDlGTPW2FdjmtH+owvCtZcB/d1GHSf93hJcZ4HRbekK3F21Be3QznZsBZFKmm0   
   vE6czXzRzPqBew/lov1q/jLV9   
   X-Complaints-To: abuse@albasani.net   
   NNTP-Posting-Date: Tue, 6 Feb 2007 17:39:05 +0000 (UTC)   
   X-User-ID: 9BsLjfUE8QXpapcLved1FeQBrnvyEgQvrLB71yejGAs=   
   User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)   
   X-NNTP-Posting-Host: 1ACAPTRDU/IJr6YS9JNn4jAp12DGxpJ1VWy45ooGrk7   
   mG0uD38mj/zjvE4h1qjYiFmf56ogJFuB69C2Tik6YQ==   
   Xref: number1.nntp.dca.giganews.com alt.os.linux.ubuntu:9836   
      
   Niklaus Kuehnis  wrote:   
      
   > On Mon, 5 Feb 2007, SINNER wrote:   
   >   
   >> * Niklaus Kuehnis wrote in alt.os.linux.ubuntu:   
   >>> Hi,   
   >>   
   >>> I'm booting to console. Is it possible to run that script on every   
   >>> day's first login? If so, what's the easiest and cleanest way of   
   >>> doing that?   
   >>   
   >> If you use anacron (installed by default, at least in Ubuntu 6.06), make   
   >> it a cron job that runs once a day or add it to /etc/cron.daily, if the   
   >> machine was off, anacron will run it when you turn it on, otherwise it   
   >> will run once per day.   
   >   
   > Hmmm, doing console notification with anacron doesn't seem that simple   
   > as it runs in the background and, by default, starts only 5 minutes   
   > after boot. I will try using anacron, writing the apt-get output to a   
   > file and echoing part of it on login (through .bash_profile) if there   
   > are updates available. That will be a bit of work, though. The   
   > standard notification method would be through e-mail, I guess, but   
   > making anacron send an e-mail depending on apt-get output doesn't seem   
   > trivial (to me).   
      
      
   ,----[ ~/bin/pkgdesc apticron ]   
   | Package: apticron   
   | Description: cron-script to mail impending apt updates   
   |  apticron is a simple script to mail about impending apt updates   
   |  such as security updates.   
   `----   
      
   ,----[ ~/bin/pkgdesc cron-apt ]   
   | Package: cron-apt   
   | Description: automatic update of packages using apt-get   
   |  Contains a tool that is run by a cron job at regular intervals. By default   
   it   
   |  just updates the package list and download new packages without installing.   
   |  You can instruct it to run anything that you can do with apt-get   
   |  (or aptitude).   
   |  .   
   |  It can optionally sends mail to the system administrator on errors, log   
   |  to syslog or a separate log file.   
   |  .   
   |  Observe that this tool may be a security risk, so you should not set it   
   |  to do more than necessary. Automatic upgrade of all packages is NOT   
   |  recommended unless you are in full control of the package repository.   
   `----   
      
      
      
      
      Florian   
   --    
      
   --- Platinum Xpress/Win/WINServer v3.0pr5   
    * Origin: Omicron Theta BBS (1:261/20)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca