View previous topic :: View next topic |
Author |
Message |
codejunky Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 03 Oct 2004 Posts: 75 Location: Hamburg - Germany
|
Posted: Tue Oct 25, 2005 12:17 pm Post subject: Cron job innerhalb eines bestimmten Zeitraumes ausführen. |
|
|
Hallo,
is es möglich mit Cron ein Programm innerhalb eines bestimmten Zeitraumes alle 10 Minuten zu starten. Dieser Zeitraum soll zwischen 9:00 und 17:00 sein und innerhalb dieses Zeitraums soll alle 10 Minuten Fetchmail aufgerufen werden.
Ist das möglich?
Danke.
Gruß
Jan _________________ http://www.codejunky.org |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
phixom Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 07 Jan 2003 Posts: 224
|
Posted: Tue Oct 25, 2005 12:24 pm Post subject: |
|
|
Code: |
emerge fcron
man 5 fcrontab
|
phixom |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
platinumviper l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1238286818436882513cc0f.jpg)
Joined: 12 Feb 2004 Posts: 661 Location: Munich, Germany
|
Posted: Tue Oct 25, 2005 2:00 pm Post subject: Re: Cron job innerhalb eines bestimmten Zeitraumes ausführe |
|
|
Code: | */10 9-17 * * 1-5 /usr/bin/fetchmail |
Von links nach rechts: alle 10 Minuten, 9 bis 17 Uhr, jeden Tag, jeden Monat, Montag bis Freitag, Kommando
platinumviper _________________ No money back garantee. In case of problems, don't call us, we call you. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
codejunky Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 03 Oct 2004 Posts: 75 Location: Hamburg - Germany
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|