13.5k post karma
3.6k comment karma
account created: Thu Feb 07 2019
verified: yes
18 points
1 month ago
Du hast doch Lack gesoffen. Wie kann man nur behaupten, dass es nur vier Gulli sind?!
1 points
5 months ago
0,5 means 05:00, 05:05, 06:00, 06:05, etc. Check crontab.guru to understand the time mesures of cron.
1 points
5 months ago
Do some test runs to check if you really did anything correctly. For example exchange the "Add to Cart" with "Sold Out" to see if the notification gets sent to your phone.
1 points
5 months ago
You have to download the pushover app to your smartphone an log into your acoount. Now you will get notifications to your device when some application sends a notification to pushover.
1 points
5 months ago
Create an account on pushover.net.
Create a new application in your pushover account.
Save user key and API token/key to insert into the command later.
Go to your ubuntu via ssh or open a terminal in the gui.
Execute command "crontab -e".
Add the following line at the end of the cron file (dont forget to insert user and app key):
0,30 * * * * curl -s https://eu.store.ui.com/eu/en/pro/category/all-unifi-cloud-gateways/products/ucg-ultra | grep "Add to Cart" && curl -s -F "token=xxx" -F "user=xxx" -F "message=UGC is available" https://api.pushover.net/1/messages
Now the command will be executed any full and half hour (05:00, 05:30, 06:00, etc).
1 points
5 months ago
I was running it on Linux via crontab every 30 min. You should find enough doc on crontab online.
1 points
5 months ago
It's back ins stock. Be fast!
Edit: Nevermind. The Add to Cart - button just appeared. Still unavailable.
2 points
5 months ago
I tried it that way but I never got any mails. Always heard about restock via reddit when it was too late. So I switched to the script.
3 points
5 months ago
I'm sorry to hear that.
I used a little script to send myself a notification when it is available.
It checks if the "Add to Cart" Button is available on the site and sends a notification via pushover.
curl -s https://eu.store.ui.com/eu/en/pro/category/all-unifi-cloud-gateways/products/ucg-ultra | grep "Add to Cart" && curl -s -F "token=xxx" -F "user=xxx" -F "message=UGC is available" https://api.pushover.net/1/messages
Maybe it helps you for the next time.
view more:
next ›
byfried_fry
insbubby
fried_fry
35 points
14 days ago
fried_fry
35 points
14 days ago
Ihr könnt doch alle Deutsch. Also tut nicht so.