LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-23-2009, 07:51 AM   #1
Net_Spy
Member
 
Registered: Nov 2006
Posts: 119

Rep: Reputation: 17
problem in sheduling with at


Greetings to All,
I want to shedule a task without crontab so I found a way arround with at command but the problem is how to use it to run in every 1 min . Looking forward for your kind response.

Regards
Net_Spy
 
Old 06-23-2009, 07:57 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
If you really want to use 'at' to run every minute or so you'll have to write a script. 'at' isn't constructed to run repeatedly (as far as I know), for that you use crontab. Why are you reluctant to use crontab to execute your commands on a specific time interval?

Kind regards,

Eric
 
Old 06-23-2009, 07:58 AM   #3
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
If you want to run it frequently you should really use cron. The at command is really designed for single runs you want to schedule to occur automatically at some point.

Can you explain why you want to reinvent the wheel by making at do what cron already does?
 
Old 06-23-2009, 08:32 AM   #4
Net_Spy
Member
 
Registered: Nov 2006
Posts: 119

Original Poster
Rep: Reputation: 17
hmmm thanks guys i think I would go with crontab or else Ive to do lot of work on at to work with recursively.


Regards
Net_Spy
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange solution for problem with cron-sheduling dzcharles Programming 17 05-13-2009 01:30 PM
Sheduling a .sh to run every 4 hours rainwoman Linux - Newbie 2 09-28-2005 12:48 PM
Lan configuration problem - NFS boot problem - RX&TX packets errors 242VDM242 Linux - Networking 4 11-25-2004 01:35 PM
about Linux sheduling eshwar_ind Programming 7 02-11-2004 03:46 AM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:44 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