[scribus] Omigod, RC5 is in Fedora 14 repos!

John Culleton john at wexfordpress.com
Mon Jun 27 21:46:03 UTC 2011


On Monday, June 27, 2011 12:21:11 pm John Culleton wrote:
> On Monday, June 27, 2011 09:13:38 am a.l.e wrote:
> > hi malex,
> > 
> > >   I have a script that runs each night
> > > 
> > > that automatically updates 1.4.0.
> > 
> > could you please add a cron job which sends this 
message
> 
> every night for
> 
> > 1.4 and for 1.5 (if possible two separated messages)?
> > 
> > thanks
> > a.l.e
> 
> This is pretty simple. I will explain this as if you were 
a
> neophyte, which of course you are not. But others will 
read
> this post.
> 
>  I use a file in /etc/cron.daily which
> means it automatically executes early in the day. It is
> possible that other versions of Linux do inot have such a
> directory. So lets deal with that problem first. On my
> Slackware Linux system there is a directory
> /etc/cron.daily.
> My crontab comes with a line that fires off the 
executable
> programs in this directory at 4:40 AM local time:
> ------------------------------------
> # Run daily cron jobs at 4:40 every day:
> 40 4 * * * /usr/bin/run-parts /etc/cron.daily 1> 
/dev/null
> -------------------------------------
> The command crontab -l will tell you if you have this 
line
> or not. If not it is simple to add with
> crontab -e
> which allows you to edit the crontab file using your
> default editor (vim or whatever.)
> 
> The executable file in cron.daily is very simple. I call 
it
> scrib:
> --------------
> /usr/local/scrib140
> /usr/local/scrib150
> ---------------------
> 
> So that is my solution on Slackware Linux. The crontab 
line
> is already there and the /etc/con.daily drectory is 
already
> there.
> 
> Now if you just want to add a line to crontab and not
> bother with creating a directory etc. then a line in
> crontab like ths will work:
> --------------------------------------
> 40 4 * * * i/usr/local/scrib140
> --------------------------------------
> 
> My script runs as root because that is what crontab runs
> as. It depends on the existence of file 
/usr/local/src/s140
> at a minimum. Otherwise the second line does terrible
> damage.  Here is scrib140 again
> ------------------------------------
> cd /usr/local/src/s140 #must exist!
> rm -r *
> cd ../
> svn co svn://scribus.net/branches/Version135/Scribus s140
> cd s140
> cmake . -
DCMAKE_INSTALL_PREFIX:PATH=/usr/local/scribus4_svn
> make
> make install
> cd scribus
> rm /usr/local/bin/scrib4
> ln scribus /usr/local/bin/scrib4
> --------------------------------------------
> 
> HTH

There is a typo on the above. The cron line should read:
40 4 * * * /usr/local/scrib140

The "i" is superfluoous. 
-- 
John Culleton

"Death Wore Black" Police procedural: 
http://www.deathworeblack.com/

"Create Book Covers with Scribus"
http://booklocker.com/books/4055.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20110627/e9ac7497/attachment.html>


More information about the scribus mailing list