Re: how to use crontab and cron.daily

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

nigel henry wrote:
> Next su'ed to root, and with Gedit, went to /var/spool/cron/$USER,
> and changed the time for this crontab to be run, like 2 mins later
> to test it, and ignoring the "DO NOT EDIT THIS FILE".

Why would you do that instead of just running crontab -e as your
regular user?  If you do edit the file directly as root, just be sure
that your editor won't mangle the permissions on you.  Then you'd have
trouble editing them using crontab sometime later.

> One last ? Which file did I edit when I ran export EDITOR=nano. I've
> looked around the filesystem but can't find it.

You weren't editing any file with that command.  What that did is
modified your shell environment.  If you want to ensure that nano is
always your editor, open up ~/.bash_profile and add a line to export
EDITOR=nano.

- -- 
Todd        OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
======================================================================
Remember, there's a big difference between kneeling down and bending
over.
    -- Frank Zappa

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iG0EARECAC0FAkSwCR4mGGh0dHA6Ly93d3cucG9ib3guY29tL350bXovcGdwL3Rt
ei5hc2MACgkQuv+09NZUB1ou7gCfYhymnpgwZ8UF4yhcOCoXTDcrteIAnRUpwrR1
ZwkLCOHvIKAaxI1gLOrH
=2mYl
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux