推送通知,如果Web服务器宕机 [英] Push notification if web server goes down
问题描述
是否有可能推送通知发到我的Mac和我的Android设备,如果,例如,我的网络服务器(S)往下走,或者如果一个特定的脚本运行?
Is it possible to send a push notification to my Mac and my Android devices if, for example, my WebServer(s) go down, or if a particular script is running?
推荐答案
虽然我不知道推送通知或Android做的,如果你在10.8 <一个href=\"http://apple.stackexchange.com/questions/57412/how-can-i-trigger-a-notification-center-notification-from-an-applescript-or-shel\">this回答应该给你使用内置的通知中心一定的帮助;我不是10.6.8所以我没有测试过。
While I don't know about push notifications or android, if you're on 10.8 this answer should give you some help for using the built-in notification center; I'm not on 10.6.8 so I haven't tested.
如果你想使用咆哮可以使用附加<$ C的年纪大了,免费版本$ C> growlnotify 工具:
If you want to use the older, free version of growl you can use the add-on growlnotify
utility:
growlnotify -t终端-m这个系统...已关闭。 &功放;&安培; BEL输出
我听到传言说,在10.7更多的乐趣。
I hear rumors that in 10.7 that's more fun.
这篇关于推送通知,如果Web服务器宕机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!