View Single Post
Old 09-24-2024, 11:59 AM  
JustBiz
Confirmed User
 
JustBiz's Avatar
 
Industry Role:
Join Date: Jun 2019
Posts: 2,109
Quote:
Originally Posted by grzepa View Post
Thanks, I believe Im using the API key, Im suspecting the crons are not working, but dont know what to tell my host what they should look at.

My set up looks like:

https://imgur.com/a/JTywxc9
Did you set Stripchat back to Enabled? The update to new API sets it to Disabled.

Looks like you have both fields filled, including the API key. There's only a single cron set for any domain with Mechbunny, which accesses cronFetchPerformers.php.

But you can see if your cron is working and when it last successfully ran for any provider from the Mechbunny admin.

Manage APIs => API Last Result [blue square to right of any sponsor]

Click it for any sponsor and you should see result of last successful run of cronjob for that provider. The record only includes the first 1000 characters of response from API. But it includes a timestamp. If the cron is getting results from API, it should look like:

Code:
Last Cron Run	2024-09-24 13:39:12
Last Response  {"count":7783,"total":7783,"CDNHosts":[{"name":"sagcoreedge.com","countries":{"za":50,"ca":50,"in":50,"mx":50,"de":50,"gb":50,"dz":50,"cl":50,"us":50,"jp":50}},{"name":"sacdnssedge.com","countries":{"ge":100,"mn":100,"bd":100,"ca":50,"lb":100,"kh":100,"hk":100,"pe":50,"uz":100,"mo":100,"ar":50,"co":50,"in":50,"za":50,"cl":50,"sg":100,"dz":50,"tw":100,"kz":100,"th":100,"jp":50,"pk":100,"us":50,"lk":100,"nm":50,"ph":100,"my":100,"cn":100,"cy":100,"jo":100,"vn":100,"eg":100,"iq":100,"tr":100,"mx":50,"br":50,"id":100,"kr":100,"np":100,"au":100}}],"CDNDefaultHost":"doppiocdn.net","models":[{"id":146631205,"username":"ManaMi-maru","avatarUrl":"https:\/\/static-cdn.strpst.com\/avatars\/1\/3\/1\/131e6dfa1d036f04ff6e19c421412735-full","popularSnapshotUrl":"https:\/\/img.strpst.com\/thumbs\/1727202690\/146631205_webp","snapshotUrl":"https:\/\/img.strpst.com\/thumbs\/1727203140\/146631205_webp","clickUrl":"https:\/\/go.rmhfrtnd.com?path=ManaMi-maru&userId=youruserid
If you check it five minutes later, the Last Cron time should update. Should be able to see the last time the cron successfully returned results from API if it's days ago.

You also got debug options in menus which can be activated, and will often give you a msg where/when something's up. Don't forget to turn debug off after any checks.
JustBiz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote