[Toolserver-l] new login server

Pietrodn powerpdn at gmail.com
Thu Jun 19 07:51:23 UTC 2008


> Da: "Dan Collins" <en.wp.st47 at gmail.com>
> Data: 19 giugno 2008 1:57:26 GMT+02:00
> A: toolserver-l at lists.wikimedia.org
> Oggetto: Re: [Toolserver-l] new login server
> Rispondi a: toolserver-l at lists.wikimedia.org
>
>
> On Wed, Jun 18, 2008 at 7:52 PM, James Hare <messedrocker at gmail.com>  
> wrote:
> Cheers, by the way, for moving all our stuff from Hemlock to  
> Nightshade. (Hah -- I just got now that the successor to a toxic  
> plant is another toxic plant). I greatly appreciate it.
>
>
> On Wed, Jun 18, 2008 at 7:49 PM, SQL <sxwiki at gmail.com> wrote:
> Hopefully this is the right procedure (it's what I did at least)
>
> ssh username at hemlock.toolserver.org
> crontab -e
> <copy crontab; erase>
> exit
>
> ssh username at nightshade.toolserver.org
> crontab -e
> <paste crontab>
> exit
>
> HTH
>
> SQL
>
> Daniel Schwen wrote:
> >> this server is for everything except web serving.  all your bots,  
> tools,
> >> etc. must now be run here.
> >>
> > [..]
> >
> >> /home is shared between both servers, so there is no need to copy  
> any files
> >> over.  http://toolserver.org/ URLs still point to hemlock.
> >>
> > [..]]
> >
> >> after 1 week from today (June 19), we will start killing all  
> tools which
> >> run on hemlock.
> >>
> >
> > So people who use user-crontabs must check the hostname now?
> >
> > _______________________________________________
> > Toolserver-l mailing list
> > Toolserver-l at lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/toolserver-l
> >
> >
>
>
> _______________________________________________
> Toolserver-l mailing list
> Toolserver-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/toolserver-l
>
>
> _______________________________________________
> Toolserver-l mailing list
> Toolserver-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/toolserver-l
>
>
> Note that you can do magic stuff to transfer crontabs: (hopefully  
> this eases headaches)
> @hemlock: crontab -l > crontab.txt
> @nightshade: cat crontab.txt | crontab -e
> Then just blank your crontab at hemlock. No need to be copying and  
> pasting.
>
> -- 
> DCollins/ST47
> Administrator, en.wikipedia.org
> Channel Operator, irc.freenode.net/#wikipedia
> Maintainer, Perlwikipedia module

The commands you wrote are not correct. The last command gives me:
> pietrodn at nightshade:~$ cat crontab.txt | crontab -e
> no crontab for pietrodn - using an empty one
> Vim: Warning: Input is not from a terminal
> Vim: Error reading input, exiting...
> Vim: preserving files...
> Vim: Finished.
> crontab: "/usr/bin/vim" exited with status 1

The right commands are:
pietrodn at hemlock:~$ crontab -l > crontab.txt
pietrodn at nightshade:~$ crontab crontab.txt

(without -e)
This works for me.

Cheers

Pietrodn
powerpdn at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wikimedia.org/pipermail/toolserver-l/attachments/20080619/9a9108d2/attachment.htm 


More information about the Toolserver-l mailing list