edwardthefma Posted May 6, 2013 Share Posted May 6, 2013 I need to run a ssh commamand for railes a op suggested I tryed to run it thru cronit eventually caused a high server load being run thru cron is it possible rails generate gcm_migrations my server is Johnny and my user name is edwardth Link to comment Share on other sites More sharing options...
Krydos Posted May 9, 2013 Share Posted May 9, 2013 So, why does this need to be run as root? Link to comment Share on other sites More sharing options...
edwardthefma Posted May 9, 2013 Author Share Posted May 9, 2013 i was told that cron can take up alot of resorces so wen i tryed to use cron to run the command it caused my account to be suspended for using too much reasorcesits not that it needs to be run as root just run buy some 1 within my account thru ssh wich i do not have acess to so only a admin would be able to do thatroot should not be nedded Link to comment Share on other sites More sharing options...
Krydos Posted May 10, 2013 Share Posted May 10, 2013 Ok, so what does it do? Link to comment Share on other sites More sharing options...
edwardthefma Posted May 10, 2013 Author Share Posted May 10, 2013 it is a google cloud messiging ruby gem used to push notfications and messiges to smart phonesthe command was requierd in the instrutions to configer the gem this might help https://github.com/dondeng/gcm_on_rails Link to comment Share on other sites More sharing options...
Krydos Posted May 11, 2013 Share Posted May 11, 2013 Yeah, but what does it do? If the instructions included the command rm -rf / would you do it just because it was in the instructions? Link to comment Share on other sites More sharing options...
edwardthefma Posted May 11, 2013 Author Share Posted May 11, 2013 To create the tables needed for Gcm on Rails Link to comment Share on other sites More sharing options...
Krydos Posted May 11, 2013 Share Posted May 11, 2013 Database tables? Link to comment Share on other sites More sharing options...
edwardthefma Posted May 12, 2013 Author Share Posted May 12, 2013 yes but never mind it all ready seems that you probably dont want to and you probably have good reasons not to i was wanting to use this service to develop on since i couldn't afford to pay for a the space thanks for indulging my request Link to comment Share on other sites More sharing options...
Krydos Posted May 12, 2013 Share Posted May 12, 2013 I've got no problem running commands for you, but I'm not going to run any random command that any random person posts here. Furthermore, if that command just creates tables on a database, wouldn't it be easier to just run the command on your local machine, export the database, and import the .sql to a database hosted on Heliohost. That way it doesn't matter to us what the command does or doesn't do. Link to comment Share on other sites More sharing options...
Recommended Posts