On Mon, 11 Sep 2000, SKLIM wrote: s> Dear Linux User s> s> My fetchmail now is running at Linux .. I would like it to be run at office s> hour. s> Hoe to configure the schedule for fetchmail s> I did something along the same lines but for home with an ISDN line, at certain hours it was more expensive then others. So I had to come up with the best way to do it and save money. Anyway, heres my scripts from back then, so you can see what I did and adjust accordingly for your specific situation. # kill fetchmail if running furing these times 0 0 * * sat fetchmail -q >/dev/null 2>&1 0 8 * * mon-fri fetchmail -q >/dev/null 2>&1 0 17 * * mon-fri fetchmail -q >/dev/null 2>&1 0 23 * * mon-fri fetchmail -q >/dev/null 2>&1 # start fetchmail if not running during these times 0-59/10 8-16 * * mon-fri fetchmail -d 7200 >/dev/null 2>&1 0-59/10 17-22 * * mon-fri fetchmail -d 3600 >/dev/null 2>&1 0-59/10 23,0-7 * * mon-fri fetchmail -d 1800 >/dev/null 2>&1 0-59/10 * * * sat,sun fetchmail -d 1800 >/dev/null 2>&1 Now the way I read what you posted, you only want it to run during working hours and no others, so you'll probably want somethng more along these lines. # kill fetchmail if running during these times 0-59/10 * * * sat,sun fetchmail -q >/dev/null 2>&1 17-7 * * * mon-fri fetchmail -q >/dev/null 2>&1 # start fetchmail if not running during these times 0-59/10 7-17 * * mon-fri fetchmail -d 300 >/dev/null 2>&1 Anyway, hope this gives you some ideas to work with. s> s> s> s> Best Regards, s> SKLIM s> s> s> s> -- S.Toms - tomas@primenet.com - www.primenet.com/~tomas SuSE Linux v6.4+ - Kernel 2.2.16 "The four building blocks of the universe are fire, water, gravel and vinyl." -- Dave Barry -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq