[scribus] Omigod, RC5 is in Fedora 14 repos!
a.l.e
ale.comp_06 at xox.ch
Mon Jun 27 16:38:12 UTC 2011
> 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
>
/quod erat demonstrandum.
a.l.e
/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20110627/899af2e2/attachment.html>
More information about the scribus
mailing list