Re: Ask a web dyno if it is currently up, from the outside?

2013-01-09 Thread Martin Moss
I do this in python in this code
https://github.com/martyzz1/heroku_proc_scalar_app/blob/master/worker.py

def get_current_dynos(heroku_app, procname):
try:
web_proc = heroku_app.processes[procname]
except KeyError:
return 0
else:

cpt = 0
for proc in web_proc:
print %s is %s % (proc, proc.state)
cpt += 1

return cpt


proc.state should give you up, starting, crashed

Regards

Marty



On 7 January 2013 19:03, geemus wes...@heroku.com wrote:

 Interesting. You might also be able to figure out state by looking at
 router related logs even when it wasn't yet being routed to. I haven't
 tried doing this myself, but might get you what you are after.


 On Wednesday, December 26, 2012 7:44:36 AM UTC-8, Andrew Lorente wrote:

 Hi,

 I'm writing a commandline client that consumes a web api that currently
 lives in a single web dyno. I'd like the client to be able to tell the user
 hey the dyno is starting up; it'll be a second. Short of having the
 heroku credentials and asking heroku directly, is there any way to get that
 information?

 Andrew

  --
 You received this message because you are subscribed to the Google
 Groups Heroku group.

 To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en_US?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Heroku group.

To unsubscribe from this group, send email to
heroku+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en


Re: app transfer and billing

2013-01-09 Thread Martin Moss
Just email support, and they'll sort it for you

Basically both the owner and the account to be transferred to should email
support confirming the transfer, and they'll organise it for you. The
billing will transfer to the new owner - or at least this was what happened
to us.

Marty


On 17 December 2012 17:46, Josh Coffman joshcoff...@gmail.com wrote:

 Hi,

   Does anyone know what happens if you transfer an app with paid services
 to a new owner? We have accounts under 2 different logins, and would like
 to consolidate to a single account. I'm concerned that paid services will
 be suspended or lost.

 Thanks,
 josh

  --
 You received this message because you are subscribed to the Google
 Groups Heroku group.

 To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en_US?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Heroku group.

To unsubscribe from this group, send email to
heroku+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en


Re: app transfer and billing

2013-01-09 Thread Neil Middleton
No need to email support.  If you transfer ownership, the new owner needs a 
verified CC as the billing just moves over with it.

heroku sharing:transfer b...@example.com 

-- 
Neil


On Wednesday, 9 January 2013 at 14:42, Martin Moss wrote:

 Just email support, and they'll sort it for you
 
 Basically both the owner and the account to be transferred to should email 
 support confirming the transfer, and they'll organise it for you. The billing 
 will transfer to the new owner - or at least this was what happened to us. 
 
 Marty
 
 
 On 17 December 2012 17:46, Josh Coffman joshcoff...@gmail.com 
 (mailto:joshcoff...@gmail.com) wrote:
  Hi,
  
Does anyone know what happens if you transfer an app with paid services 
  to a new owner? We have accounts under 2 different logins, and would like 
  to consolidate to a single account. I'm concerned that paid services will 
  be suspended or lost. 
  
  Thanks,
  josh
  
  -- 
  You received this message because you are subscribed to the Google
  Groups Heroku group.
   
  To unsubscribe from this group, send email to
  heroku+unsubscr...@googlegroups.com 
  (mailto:heroku%2bunsubscr...@googlegroups.com)
  For more options, visit this group at
  http://groups.google.com/group/heroku?hl=en_US?hl=en
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Heroku group.
  
 To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.com 
 (mailto:heroku+unsubscr...@googlegroups.com)
 For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en_US?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Heroku group.

To unsubscribe from this group, send email to
heroku+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en


Re: app transfer and billing

2013-01-09 Thread Mark Pundsack
You should use the Heroku Dashboard web interface to transfer paid apps. It's a 
relatively new addition and I believe the CLI still only lets you transfer free 
apps. If you try with the CLI, it should just fail.

Mark

On Jan 9, 2013, at 6:54 AM, Neil Middleton n...@neilmiddleton.com wrote:

 No need to email support.  If you transfer ownership, the new owner needs a 
 verified CC as the billing just moves over with it.
 
 heroku sharing:transfer b...@example.com
 
 -- 
 Neil
 
 On Wednesday, 9 January 2013 at 14:42, Martin Moss wrote:
 
 Just email support, and they'll sort it for you
 
 Basically both the owner and the account to be transferred to should email 
 support confirming the transfer, and they'll organise it for you. The 
 billing will transfer to the new owner - or at least this was what happened 
 to us.
 
 Marty
 
 
 On 17 December 2012 17:46, Josh Coffman joshcoff...@gmail.com wrote:
 Hi,
 
   Does anyone know what happens if you transfer an app with paid services 
 to a new owner? We have accounts under 2 different logins, and would like 
 to consolidate to a single account. I'm concerned that paid services will 
 be suspended or lost.
 
 Thanks,
 josh
 
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Heroku group.
  
 To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en_US?hl=en
 
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Heroku group.
  
 To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en_US?hl=en
 
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Heroku group.
  
 To unsubscribe from this group, send email to
 heroku+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/heroku?hl=en_US?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Heroku group.

To unsubscribe from this group, send email to
heroku+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en