help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run script/function at regular intervals


From: Jordi Gutiérrez Hermoso
Subject: Re: Run script/function at regular intervals
Date: Tue, 30 Apr 2013 12:50:05 -0400

On 30 April 2013 11:39, Arnaud Miege <address@hidden> wrote:
> I have a script (although it could be easily turned into a function if need
> be) that retrieves data from a website using urlread and saves (appends) it
> to a CSV file and also a data file. I would like to run this script at
> regular intervals, e.g. every hour, ideally in the background.

What OS? There are tools to do this sort of thing. The perennial
tradition in Unix is cron:

    http://en.wikipedia.org/wiki/Cron

HTH,
- Jordi G. H.


>
> I have gone through the various timing functions in Octave, and the only one
> that seems adequate for the job is sleep. Is there a better solution? While
> Octave is "sleeping", does it mean I cannot do anything else unless I fire
> another instance of Octave? Is there any way to run this in the background?
>
> Any suggestions welcome,
>
> Thanks,
>
> Arnaud
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]