Child pages
  • Run Fitness Schedule Updater Manually
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

To run the Fitness & Recreation updater manually, do the following:

ssh into drupal-prod.library.ucsf.edu

Once logged in, do the following:

sudo rm /tmp/xpiron_schedule_data.csv
cd /web/mobile-prod/htdocs/system/supporting/fitness/bin
./get_schedule.sh
./run_fitness_schedules_updater.sh

You will get output, and it should look something like this:

Starting Fitness Schedule Updater...
Line count of Xpiron file is sane (115), so deleting current records.
Lines updated: 114 (Note: First line of Xpiron file is a header.)
Fitness Schedule Updater finished.

If you get an error, then it is possible that the Xpiron file did not download properly.

To test the data, go to the Fitness & Recreation All Classes page:

http://m.ucsf.edu/fitness/schedule/all

  • No labels