Quartz Job to convert Home to Homepage

Instructions for configuring and running the Home to Homepage conversion Job.

Go to Administrative Workspace:

  • Click on the jobs tab and then on the "jobs" link on that page
  • Click on "New Job"
  • Fill in the job name with a job name. See following for details on how to name a job name
    • if you want to use a smart job name and use the 'Run Job Now' feature, then
  • If you want to run the convert on a single site, include the following in the job name: SITEID=Su07-AA-190-09, replacing Su07-AA-190-09 with your Site Id.
  • If you want to run the convert on all sites within a term, use the following job name: TERM=F07
  • Select "Home to Homepage Conversion" from the drop down list for job type.
  • Click the "post" button
  • You should see your new job appear on a list of jobs

Alternately, you can use the trigger name and schedule a job to run on a future date:

Run a job using a trigger name

  • If you want to run the convert on a single site, include the following in the trigger name: SITEID=Su07-AA-190-09, replacing Su07-AA-190-09 with your Site Id.
  • If you want to run the convert on all sites within a term, use the following trigger name: TERM=F07
  • Create a cron expression that reflects the time a couple minutes from right now
    • Example: Right now it's 2:15 pm on February 28th 2007. My cron expression is: 0 17 14 28 2 ? 2007
    • Note: the cron expression is: seconds, minutes, hour (in military format), day in month, month, ? to indicate that we don't care what day of the week it is, year
  • Push the post button
  • Look at the log and wait for job to start.
    • Note the log is the tomcat catalina.out log. This log is also directed to the window where you ran manage_tomcat.sh

Examine the logs:

  • After running a job, grep the catalina.out file for "WARN" and "ERROR". This show you all the problems encountered during the conversion job.
  • If you see any other errors or warnings, open catalina.out in an editor and search for the warning. You should see more detailed information appear after it. This more detailed information will help us debug the problem.

To turn on debugging (not recommended unless you are having a serious problem), modify sakai/sakai.properties

log.config.1=DEBUG.org.sakaiproject.tool.coursemanagement.hometool