"make install" slow ftp download sites, how to change?

Dear ankscorek, just in case you are not familiar with vi. crontab -e as root is correct. It copies the current crontab into a vi. Press "i" to change to the insert mode. Then insert the line, either by typing or by copy and paste. Then press the key <esc> to leave the insert mode. If you do it more often the computer might beep, but this is ok. Then type ":wq". This should save the file and close the editor. This is very intuitive ;). The new crontab should appear as the result of crontab -l.

I am dumb, but, hey I guess I used "insert" copy paste the line followed by ":wq" and then I got

/tmp/crontab.iIfg3ylVXj: 2 lines, 2 characters. crontab: installing new crontab

If that is too involved, run the command export EDITOR=ee or setenv EDITOR ee (depending on your shell) before running crontab -e. That'll give you an easier editor.

vi is an easy editor.

My query is that I do not see the line which I copied, pasted, saved and exited the editor. I want to edit the 0 6 to something else.
 
I followed the same procedure as earlier and now this is it

Code:
root@noname:/home/xxxxxx # crontab -l
0 21 * * *  /usr/local/bin/fastest_sites > /usr/local/etc/ports_sites.conf

..?

And then this is what happened
Code:
# /usr/local/bin/fastest_sites > /usr/local/etc/ports_sites.conf
make: "/etc/make.conf" line 10: .include filename must be delimited by '"' or '<'
make: Fatal errors encountered -- cannot continueTraceback (most recent call last):
  File "/usr/local/bin/fastest_sites", line 145, in <module>
  fd = open(sites_mk, "r")
IOError: [Errno 2] No such file or directory: '\nmake: stopped

line 10 of /etc/make.conf is
Code:
.include /usr/local/etc/ports_sites.conf
 
Last edited by a moderator:
Back
Top