Automatinc updates

Sync Blizzards' Armory data with WoWRoster (addon depreciated no longer works see ApiSync)

Moderators: Ulminia, poetter

Automatinc updates

Postby dhirmadi » Tue Nov 20, 2007 9:04 pm

hi there,

would anyone know how to automate the update of the roster/ the sync by using a cron job or something similar?

regards
User avatar
dhirmadi
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Sun Aug 06, 2006 9:01 pm

Re: Automatinc updates

Postby poetter » Sat Nov 24, 2007 7:19 am

Hi,

this won't be possible unless you have workstation that will do that job in a normal browser, but even this will have a problem to enter the needed credentials automatically.
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Automatinc updates

Postby dhirmadi » Sat Nov 24, 2007 6:14 pm

well i was more thinking about a script that woudl run directly on th webserver and could be executed via a shell through a cron job :)
User avatar
dhirmadi
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Sun Aug 06, 2006 9:01 pm

Automatinc updates

Postby PleegWat » Sat Nov 24, 2007 9:30 pm

You can use wget in a shell script with either the normal site url or localhost as the url (experiment). You may also be able to run the scripts by starting them directly from the command line.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Automatinc updates

Postby poetter » Sat Nov 24, 2007 10:10 pm

This won't work, because the needed javascript reload or ajax updates can not be done with wget.
Image
User avatar
poetter
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 462
Joined: Sat Jun 30, 2007 9:41 pm
Location: Germany/Hamburg

Automatinc updates

Postby MattM » Sun Nov 25, 2007 12:33 am

We've been talking about doing this for UA, you may want to check out the next UA beta, it may have something similar to what you're talking about.
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA


Return to ArmorySync - Depreciated

Who is online

Users browsing this forum: No registered users and 0 guests

cron