>From: Jerry Geis <ge...@pagestation.com>

>To: CentOS ML <centos@centos.org> 
>Sent: Monday, January 21, 2013 1:21 PM
>Subject: [CentOS] the at command
 >
>I was trying to use the 'at' command.
>
>Does it not have "resolution" to the second?
>
>When I run it with 'at -f /tmp/tt.sh "01/21/2013 15:20:45"
>syntax error. Last token seen: 15:20
>Garbled time
>
>How do I run a command in the future including "seconds".
>
>Thanks,
>
>Jerry

I think you're limited to 1 minute granularity.  But if you want to run 
something at a specific second (ie: 13 seconds after the minute), you could 
modify the script to sleep for 13 seconds before running and run it on the 
minute, or prepend a sleep in the cron entry itself:

* * * * * sleep 13; touch /tmp/foo

______________________________________________________________________
If life gives you lemons, keep them-- because hey.. free lemons.
"♥ Sticker" fixer:  http://microflush.org/stuff/stickers/heartFix.html
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to