EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: hi, how to use burtrb to save status as a task?
From: "Pete R. Jemian" <[email protected]>
To: [email protected]
Date: Wed, 28 Apr 2010 02:08:57 -0500
You do not show a BURT request file that contains the list of PVs you
wish to record.  Name the request file with something like this:

Pathtoburtrb  -f requestFile.req ?l name.log ?o name.snap


Also, the first two lines in your script should be swapped:

#!/bin/bash
#autosave


On 4/27/2010 11:30 PM, 汪启胜 wrote:
> Hello, I write a shell script which use burtrb to save the beamline 
> status every an hour. When I execute the script, it is ok. But I add it 
> as a task by crontab, there always connect failed.
> 
> The shell script just like:
> 
> #autosave
> 
> #!/bin/bash
> 
> Cd pathtosavedata
> 
> #create the snap file name
> 
> …
> 
> …
> 
> Pathtoburtrb ?l name.log ?o name.snap
> 
> Chmod a+x autosave
> 
> The crontab like below:
> 
> 30 * * * * user pathtoautosave
> 
> It did execute the task, but it always failed to connect to pv expect 
> the first one, even I use the parameter ?r 10. Please help me figure out 
> the problem.
> 
> Thanks very much.
> 

-- 
----------------------------------------------------------
 Pete R. Jemian, Ph.D.                <[email protected]>
 Beam line Controls and Data Acquisition, Group Leader
 Advanced Photon Source,   Argonne National Laboratory
 Argonne, IL  60439                   630 - 252 - 3189
-----------------------------------------------------------
    Education is the one thing for which people
       are willing to pay yet not receive.
-----------------------------------------------------------

References:
hi, how to use burtrb to save status as a task? 汪启胜

Navigate by Date:
Prev: hi, how to use burtrb to save status as a task? 汪启胜
Next: 答复: hi, how to use burtrb to save status as a task? 汪启胜
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: hi, how to use burtrb to save status as a task? 汪启胜
Next: 答复: hi, how to use burtrb to save status as a task? 汪启胜
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·