Cron Job / Scheduled Task to change default style
I currently have a style/skin which pulls things from a CDN using replacement variables in the style.
This is not needed in off hours.
Could someone help me in creating a Cron Job / Scheduled Task to change the default style chosen in:
Vbulletin Options -> Style & Language Settings -> Default Style
From lets say styleid 1 to styleid 2 at a certain time.
That way, I can flip this on and off at a particular time of day when I know my traffic is low/high, save some CDN bandwidth.
Thanks!
|