[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: rc.local no Debian

Primeiro eu dei um

apt-cache search delay

Aí saiu:

ktimer - a timer for KDE
libarts - aRts Sound system
libarts-alsa - aRts Sound system (built with alsa support)
libkmid - aRts Sound system (midi/kmedia support libraries)
libkmid-alsa - aRts Sound system (midi/kmedia support libraries with alsa)
at - Delayed job execution and batch processing
bombermaze - A bomberman clone for GNOME, for 2-4 players
cmt - Computer Music Toolkit (cmt) a collection of LADSPA plugins
freebirth - Bass synthesizer/sample player/sequencer similar to Rebirth
libacme-poe-knee-perl - Time sliced pony race using the POE kernel.
libinline-perl - Write Perl subroutines in other programming languages
libobject-realize-later-perl - Delayed creation of objects
nmap - The Network Mapper
sbm - Smart Boot Manager (SBM) is a full-featured boot manager.
set6x86 - Cyrix/IBM 5x86/6x86 CPU configuration tool
smtm - Show Me The Money is a configurable Perl/Tk stock ticker program
tapiir - A tool for real time audio delay and feedback effects.
upsd - UPS Monitor Program
xringd - Extended Ring Daemon - Monitor phone rings and take action.
whirlgif - Create animated GIFs

Dando uma lida, achei o "at" bem interessante. man at:

AT(1)               Linux Programmer's Manual               AT(1)

       at,  batch,  atq, atrm - queue, examine or delete jobs for
       later execution

       at [-V] [-q queue] [-f file] [-mldbv] TIME
       at -c job [job...]
       atq [-V] [-q queue]
       atrm [-V] job [job...]
       batch [-V] [-q queue] [-f file] [-mv] [TIME]

       at and batch read commands from standard input or a speci­
       fied  file which are to be executed at a later time, using

       at      executes commands at a specified time.

       atq     lists the user's pending jobs, unless the user  is
               the  superuser; in that case, everybody's jobs are

acho que é isso que você quer. Se não for, tenta de novo aqui na lista.

            Paro por aqui, Fred

Olá Moises,

             Eu geralmente coloco os scripts shell que quero executar na
no /etc/rc.boot/ , funciona, mas peço ao pessoal da lista que comentem se
isto é a melhor opção.
             Detalhe o script precisa estar com permissão para rodar !
             Aproveito a oportunidade para perguntar como executar um
script ou comando
apenas uma vez após 10 minutos que a máquina fo ligada, alguem sabe?

Reply to: