LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   problem in sheduling with at (https://www.linuxquestions.org/questions/linux-networking-3/problem-in-sheduling-with-at-734971/)

Net_Spy 06-23-2009 07:51 AM

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

EricTRA 06-23-2009 07:57 AM

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

MensaWater 06-23-2009 07:58 AM

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?

Net_Spy 06-23-2009 08:32 AM

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


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