converting .swf to .mpg
Leo Cacciari
leo.cacciari at gmail.com
Wed May 14 09:27:54 UTC 2008
Il giorno mer, 14/05/2008 alle 09.51 +1000, Rutger van Haasteren ha
scritto:
> Normally, to set up a script to be run by cron daily, you just
> put it
> under /etc/cron.daily.
>
> I understand. But it seems very quick 'n dirty to just put a shell
> script with one command in that directory. What would you recommend?
Quick & Dirty? I found this neat and smart! :) The basic idea is that
there is an action already scheduled daily, which simply consist into:
"go to the /etc.cron.daily directory, find all executable files there
(with some restriction on their names, see the run-parts man page) and
run them in order. This means you don't have to run crontab each time
you want to change a daily (or weekly, or hourly or monthly) task.
Thus, I'd recommend to do just that, add a script there. Follow the
pattern in the others already there. Remember that cron jobs are run
with very restrictive settings, thus be sure to set in your script or
program all environment variables you need.
Enjoy
--
Leo 'TheHobbit' Cacciari
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Questa รจ una parte del messaggio firmata digitalmente
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080514/ef03c92c/attachment.sig>
More information about the ubuntu-users
mailing list