LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-19-2005, 05:11 PM   #1
shukla_chanchal
Member
 
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 it..............at 4:30 ls
is not working i dont know why throw some light
 
Old 11-19-2005, 09:27 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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



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

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

-Alan
 
  


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
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

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

All times are GMT -5. The time now is 06:49 PM.

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