Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 11-19-2005, 05:11 PM   #1
Registered: Oct 2005
Location: banglore(india)
Posts: 62

Rep: Reputation: 15
at command details

suppose i want to run some command at some fixed time

how can i do 4:30 ls
is not working i dont know why throw some light
Old 11-19-2005, 09:27 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,041
Blog Entries: 11

Rep: Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907
We might be able to shed some light if you were kind
enough to provide us with WHAT you are doing.

Usually you'll do something like

echo "halt" | at 23:00

or have the instructions that you want executed
listed in a file and invoke at with -f ... but all of this
you could have found out from the man-page.

Old 11-21-2005, 10:06 PM   #3
Registered: Oct 2005
Location: A safe distance from Detroit
Distribution: SuSE 10.0, Knoppix
Posts: 97

Rep: Reputation: 16
Also, do you want to do this one time, or is it something you want to do every day or every week at a certain time?

At is used for one-time events; cron should be used for things that will be run on a regular basis, be it hourly, daily, weekly, or even once a year on a particular day.

At will also use the environment you have in effect at the time you submit the at schedule, using all your environment variables and paths. Cron will not have the same environment set, so you must supply full paths to scripts or utilities you use.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Configuration details nagu Slackware - Installation 8 07-11-2005 02:40 AM
BSD Details hinetvenkat Linux - Software 2 05-30-2005 12:20 PM
memory command details ilnli Linux - General 4 05-17-2005 04:17 PM
hardware details noir911 *BSD 5 08-05-2004 02:23 PM
Getting a Process Details grub Programming 4 05-28-2003 04:02 AM

All times are GMT -5. The time now is 11:04 PM.

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