Manage scheduled tasks for the News repository 

Use administrative commands to manage scheduled tasks for the News repository.

Before you begin

To run administrative commands, use the wsadmin client. See Starting the wsadmin client for details.

About this task

The News repository has only one managed task, the NewsDataCleanup task, which ensures that news stories are periodically removed from the repository. For more information about the NewsDataCleanup task, see Configure database clean-up for the News repository. You can use the NewsScheduler commands to pause and resume the NewsDataCleanup task, and to retrieve information about the task. The scheduling information is contained in the news-config.xml file. The SystemOut.log file also contains information about whether the scheduler is running and whether any scheduled tasks have started.

The News repository uses the IBM WAS scheduling service for performing regular managed tasks. For more information about how the scheduler works, see Scheduling tasks.


To manage a scheduled task...

  1. From the dmgr host:

      cd $DMGR_PROFILE/bin
      ./ -jython

      If prompted to specify a service to connect to, type 1 to pick the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file using a local file path, pick the node where the file is stored.

  • Use the following commands to administer the scheduler service for the News repository.

    Parent topic

    Administer the News repository

    Related tasks

    Configure database clean-up for the News repository