da, este 23:00, depinde de timezone.
scria mai mititel in man, dar dupa un date m-am prins de timezone
danche shon!
Piratu'
Ionel Mugurel Ciob�c� wrote:
> On 4/09/2001, 17:32:38, Catalin Florin RUSSEN wrote:
> >
> > Salutare lista!
> >
> > Am de executat comanda urmatoare
> > at 2300 /appl/oracle/local/bin/lancer.sh analyze_db.sql
> > la ora 23 in seara asta si primesc mesajul de eroare:
> > at : bad time specification
> >
> > Are cineva o idee pe unde gresesc, ca dupa man ar cam fi bine?
>
> 2300 ce inseamna?
>
> Incearca 23:00
>
> Eu pun intr-un fisier ceva de genul asta:
>
> =========cut here======================
> at 7:00 Oct 15 << EOF
> Mail -s 'subiect' [EMAIL PROTECTED] << EOF
>
> This is an AUTOMATIC MAIL.
>
> mesaj aici.
>
> Mugurel
>
> EOF
>
> =========cut here======================
>
> Daca nu vrei cu fisier, faci asa (cum scrie la man):
>
> at timpul <ENTER>
>
> comenzi
>
> Ctrl-D
>
> nu cred ca merge "at timpul comanda".
>
> Despre timp, uite ce scrie (sigur ai citit?):
>
> At allows fairly complex time specifications, extending the POSIX.2 stan�
> dard. It accepts times of the form HH:MM to run a job at a specific time
> of day. (If that time is already past, the next day is assumed.) You may
> also specify midnight, noon, or teatime (4pm) and you can have a time-of-
> day suffixed with AM or PM for running in the morning or the evening. You
> can also say what day the job will be run, by giving a date in the form
> month-name day with an optional year, or giving a date of the form MMDDYY
> or MM/DD/YY or DD.MM.YY. The specification of a date must follow the
> specification of the time of day. You can also give times like now +
> count time-units, where the time-units can be minutes, hours, days, or
> weeks and you can tell at to run the job today by suffixing the time with
> today and to run the job tomorrow by suffixing the time with tomorrow.
>
> For example, to run a job at 4pm three days from now, you would do at 4pm
> + 3 days, to run a job at 10:00am on July 31, you would do at 10am Jul 31
> and to run a job at 1am tomorrow, you would do at 1am tomorrow.
>
> The exact definition of the time specification can be found in
> /usr/doc/at/timespec.
>
> Succes.
>
> Mugurel
> ---
> Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> unsubscribe from this list.
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.