LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-13-2010, 03:00 PM   #1
gartura
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Rep: Reputation: 0
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
 
Old 05-13-2010, 03:14 PM   #2
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

Rep: Reputation: 56
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?!?

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.
 
Old 05-13-2010, 03:32 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
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
 
Old 05-13-2010, 03:44 PM   #4
gartura
LQ Newbie
 
Registered: Nov 2009
Posts: 6

Original Poster
Rep: Reputation: 0
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)
 
Old 05-13-2010, 03:49 PM   #5
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
@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.
 
0 members found this post helpful.
Old 05-13-2010, 04:32 PM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
@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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Identify program memory usage from command line MikeyCarter Linux - Software 1 03-04-2008 11:16 AM
schedule program hewittrj Linux - Software 1 08-21-2007 10:59 PM
schedule program omerlh Programming 5 01-12-2006 04:41 AM
Schedule a graphic program juanczm Linux - General 1 01-28-2005 03:49 PM
Schedule TOP command in Crontab. imsajjadali Red Hat 2 05-20-2004 04:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration