* Do any scripts run all the time in debian?
@ Daniel Dalton
` Geoff Shang
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Dalton @ UTC (permalink / raw)
To: Linux for blind general Discussion
Hi,
I want to setup a script that grabs all my podcasts at between 7 am and 12
pm. Since this is when I get the best speeds and download limits.
So my question is. Is there any scripts in debian that are always running
that I could tell to call my script if date +%H is between 7 and 10?
Obviusly there would be some changes there but something like that.
Thanks,
--
Daniel Dalton
http://members.iinet.net.au/~ddalton/
d.dalton@iinet.net.au
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Do any scripts run all the time in debian?
Do any scripts run all the time in debian? Daniel Dalton
@ ` Geoff Shang
` Daniel Dalton
0 siblings, 1 reply; 3+ messages in thread
From: Geoff Shang @ UTC (permalink / raw)
To: Linux for blind general discussion
Hi,
Sounds like cron is what you need. Look at the cron(8), crontab(1) and
crontab(5) man pages.
If you want to use a personal crontab, you should set the EDITOR
environment variable with the path to your preferred text editor so it will
lload it up when you run crontab. Either run
export EDITOR=emacs
or whatever your prefered editor is, before running crontab, or put the
command in your .bash_profile:
Geoff.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Do any scripts run all the time in debian?
` Geoff Shang
@ ` Daniel Dalton
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Dalton @ UTC (permalink / raw)
To: Linux for blind general discussion
On Sun, 24 Feb 2008, Geoff Shang wrote:
> Hi,
Hi Geoff,
>
> Sounds like cron is what you need. Look at the cron(8), crontab(1) and
> crontab(5) man pages.
I think I only have man crontab.
So is that what I should read?
>
> If you want to use a personal crontab, you should set the EDITOR environment
> variable with the path to your preferred text editor so it will lload it up
> when you run crontab. Either run
>
> export EDITOR=emacs
I did that thanks.
>
> or whatever your prefered editor is, before running crontab, or put the
> command in your .bash_profile:
The export one? ok.
Also do you have a sample crontab file?
Am I just meant to put calls to my scripts in it?
I looked at the man crontab page, but I am not sure about sintax.
Thanks,
--
Daniel Dalton
http://members.iinet.net.au/~ddalton/
d.dalton@iinet.net.au
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
Do any scripts run all the time in debian? Daniel Dalton
` Geoff Shang
` Daniel Dalton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).