LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Usage of AT Command to Schedule a Program (https://www.linuxquestions.org/questions/linux-general-1/usage-of-at-command-to-schedule-a-program-807658/)

gartura 05-13-2010 03:00 PM

Usage of AT Command to Schedule a Program
 
hellO,
I WANT TO USE THE COMMANT AT TO EXECUTE A SCRIPT ON A SPECIFIC TIME

FOR EXAMPLE :at 12:30pm
BUT THE SCRIPT DOES NOT HAVE TO EXECUTE AT ALL, I DIT IT BUT THE SCRIPT EXECUTES EACH 12:30pm (that'sy problem)

i want to write a script that will execute each two months from a specific time .
for example: from january 12, 2010

the script has to run before march 12,2010



please help me

teebones 05-13-2010 03:14 PM

and now without CAPITAL writing, and clear word choices.

I don't understand what you are asking, and what the problem is exactly. (reading your example, and it's outcome (running at 12:30) indicates it's working?!?) But then again, the program doesn't have to execute?!? :scratch:

another thing, don't use titles like : urgent for a thread.
use a short description of what your problem is or the topic/application it is about. Furthermore, urgent is a relative term, since for one it might be urgent, for another it is not.

repo 05-13-2010 03:32 PM

Quote:

i want to write a script that will execute each two months from a specific time .
for example: from january 12, 2010
the script has to run before march 12,2010
Take a look at cron
http://www.unixgeeks.org/security/ne...ix/cron-1.html

gartura 05-13-2010 03:44 PM

scripts
 
what i wanna say . the script executes at 12:30pm one day
but it still keeps on running on the other day at 12:30pm

that's my problem (i need it executed one time)

sycamorex 05-13-2010 03:49 PM

@gartura
I suggest you make up your mind

Quote:

i want to write a script that will execute each two months from a specific time .
vs.
Quote:

that's my problem (i need it executed one time)
If the first option is what you want, cron, as repo suggested, might be better.

XavierP 05-13-2010 04:32 PM

@gartura - I have renamed your thread to make it more descriptive. Please do not use "urgent" as a thread title - it doesn't tell us what problem you are having and, as we are all unpaid volunteers here, no one problem is more urgent than any other.


All times are GMT -5. The time now is 09:03 PM.