Tasks Performed

This section describes the script files and functions that the scheduling service performs.

apply_sandbox.csp

Apply the tentative structure to the current environment.
After the process is performed, the tasks are deleted.

Execution time

The time when the tasks will be performed differs according to the the settings specified by the administrators.

  • Applying the Tentative Structure to the Current Environment Immediately:
    On the tentative reorganization screen, if your system administrator clicks "Apply Now", a task is added to the scheduling service. The task will be performed within one minute after the task is added to the scheduling service.
  • Applying the Tentative Structure to the Current Environment at the Specified date and time:
    The task will be performed at the specified date and time
Impacts in case if the task is not performed

The tentative structure is not applied to the current environment.

archive_log.csp

Archive logs.
After you have created the archive, you can delete the log data from the database. If the server has an archive that has passed the retention period, delete the archive as well.

Execution time

The time set in "Archive schedule" in the "Archive settings" of "Logging" in "System Administration (Basic System)"
Default value:
JTS: Every Sunday 1:00 PM
UTC: Every Saturday 3:00 PM

Impacts in case if the task is not performed

Logs are not archived. Logs that have not been archived are archived the next time the task is executed. Logs are archived for up to three weeks.

background_job_daemon.csp

Start background_job.
Tasks for notifications and transfer of e-mails are performed.

Execution time

Every minutes

Impacts in case if the task is not performed

Background_job won't start. Notifications and e-mail forwarding are not performed until the next execution time.

cleanup.csp

Purges the following data:

  • (CGI directory)/(installation identifier)/upload_tmp

  • (CGI directory)/(installation identifier)/tmp

  • Temporary files older than 24 hours after having been saved in the Attachment storage area (the directory specified in the "Files" section of the common.ini file)

  • Temporary files created for indexing incoming e-mail attachments

  • Files associated with users who do not exist in Garoon1

    • E-mail sources2
    • Attachments of e-mails2
    • Attachments in memo
    • Attachments in the Personal Address Book
    • "File" field in custom items in Personal Address Book
    • "File" field in custom items in Shared Address Book
    • Attachments in draft topics
    • Draft messages
    • Attachments in draft messages
    • Draft requests
    • Attachments in draft requests
    • Messages that the sender and all the recipients have been deleted3 and attachments of the message
    • Cache data for portlets that are not used in Dezie Connector
    • Draft reports of the deleted user and their attachments
  • Files that have been stored in Trash in Cabinet exceeding the retention period specified in "File & folder retention period"4

  • Notifications of "Respond" for each user which fit into one of the following conditions:

    • Are 30 or more days old
    • Are older than the most recent 20 notifications

1: This is same as the cleanup_application.csp, which was running daily on Garoon version 3.1.x or earlier.

2: For incoming e-mails, outgoing e-mails, and draft e-mails.

3: It is not applied to snapshots.

4: This is same as the grn_cabinet_cleanup.csp, which was running daily on version 3.1.x or earlier Garoon.

Execution time

JST: Every 3:00 AM, 9:00 AM, 3:00 PM, and 9:00 PM
UTC: Every 0:00 AM, 6:00 AM, 0:00 PM, and 6:00 PM

Impacts in case if the task is not performed
  • Temporary files are not deleted from the corresponding directories.
  • Files associated with users who do not exist in Garoon are not deleted.
  • Data moved to "Trash" is not deleted.

Files and data that have not been deleted will be deleted the next time the task is executed.

create_sandbox.csp

Create a tentative structure.

Execution time

A task is added to the Cybozu scheduling service by clicking Create on the Tentative reorganization screen.
The task will be performed within one minute after the task is added to the scheduling service.

Impacts in case if the task is not performed

The tentative structure is not created.

delete_old_notification.csp

Deletes notification data older than 30 days.

Execution time

The time set to the start time of deletion process in the automatic deletion settings of "Notifications" in "System Administration" (Application)
Default value:
JST: Every 11:00 PM
UTC: Every 2:00 PM

Impacts in case if the task is not performed

The notification data is not deleted. The notification data that have not been deleted will be deleted the next time the task is executed.

delete_sandbox.csp

Delete a tentative structure.

Execution time

A task is added to the scheduling service if the system administrators click Delete on the Tentative reorganization screen.
The task will be performed within one minute after the task is added to the scheduling service.

Impacts in case if the task is not performed

The tentative structure is not deleted.

get_six_kinds_of_day_data.csp

Receives Rokuyo data.

Execution time

JST: December 1st, 4:00 PM.
UTC: December 1st, 7:00 AM.

Impacts in case if the task is not performed

The Rokuyo data will not be received.
If the scheduling service stops at the execution time, you should follow the steps below to receive Rokuyo data:

Steps:
  1. Click the Administration menu icon (gear icon) in the header.

  2. Click System settings.

  3. Select "Application settings" tab.

  4. Click "Cybozu Online Service".

  5. Click "Receive event data".

  6. On the "Receive event data" screen, select the "Rokuyo" check box.

  7. Confirm your settings and click "Receive".

get_weather_data.csp

Receives weather forecasts.

Execution time

JST: Every 3:00 AM, 9:00 AM, 3:00 PM, and 9:00 PM
UTC: Every 0:00 AM, 6:00 AM, 0:00 PM, and 6:00 PM

Impacts in case if the task is not performed

You cannot receive the weather forecast.
If the scheduling service stops at the execution time, wait for the next execution or you should follow the steps below to receive weather forecast:

Steps:
  1. Click the Administration menu icon (gear icon) in the header.

  2. Click System settings.

  3. Select "Application settings" tab.

  4. Click "Cybozu Online Service".

  5. Click "Receive event data".

  6. On the "Receive event data" screen, select the "Weather forecast" check box.

  7. Confirm your settings and click "Receive".

grn_bulletin_send_notification.csp

Perform the process of sending notifications of topics that are waiting to be published.
At the specified start date/time of the posting period, notifications are created to users who are configured to receive them.
A task is registered for each topic that is waiting to be published. Completed tasks are deleted.

Execution time

When the topic is created and the start date/time of public period is specified, corresponding task is registered in the scheduling service.
The task will be executed at the specified start date/time of public period.

Impacts in case if the task is not performed

Even at the start date/time of public period, notifications of topics are not created.

grn_delete_user_data.csp

Deletes actual data for users who have deleted in Garoon.

Execution time

The time set in "User data deletion time" on the "Deletion time settings" screen under "User".
Default value:

  • JST: from 11:00 PM to 3:00 AM
  • UTC: from 2:00 PM to 6:00 PM
Impacts in case if the task is not performed
  • Users are not deleted from Garoon.
  • Users with the same login name as the deleted user cannot be added to Garoon until the next time the task is executed.

grn_dezielink_sync_user.csp

Synchronizes user profiles for Garoon and Dezie.

Execution time

The time set in "User information auto sync" on the "Dezie Connector settings" screen of Dezie Connector.

Impacts in case if the task is not performed

Automatic synchronization of user profiles is not performed.
User profiles must be synchronized by following the steps below:

Steps:
  1. Click the Administration menu icon (gear icon) in the header.

  2. Click System settings.

  3. Select "Application settings" tab.

  4. Click "Cybozu Office / Dezie Connector".

  5. Click "Dezie Connector settings".

  6. On the "Dezie Connector settings" screen, click the item to synchronize manually in "User information auto sync".

  7. Click Yes on the synchronize user profile screen.

grn_mail_auto_receive.csp

Receives e-mails automatically.

Execution time

The time set in "Receive e-mail at specific time" on the "General settings" screen for E-mail.

Impacts in case if the task is not performed

E-mails are not received automatically. The next time the task is executed, the e-mails will be automatically received.

Users can receive e-mails that have not been automatically received by the following actions:

  • On the "E-mail" screen, click "Receive" or "Receive for all accounts".
  • Click the "You have n new e-mails" message displayed on "New E-mail" portlet.
  • Update notifications by Cybozu Desktop 2.
  • Sync data by KUNAI.

grn_workflow_cutover.csp

Switches annual period used in request number of workflows or approval numbers.

Execution time

The date and time set in the "Request & approval number annual changeover" field on the "General settings" screen of workflows.

Impacts in case if the task is not performed

The annual period used in request number of workflows or approval numbers doesn't switch.
You must change the date and time of the annual changeover to ensure that the changeover occurs at the next time the task is executed.
Change the date and time in "Request & approval number annual changeover" following to the steps below:

Steps:
  1. Click the Administration menu icon (gear icon) in the header.

  2. Click System settings.

  3. Select "Application settings" tab.

  4. Click Workflow.

  5. Click General settings.

  6. On the "General Settings" screen, select the date and time to change the annual period in "Request & approval number annual changeover".

    The date and time of the annual changeover must be the time after the current time.
    You must set a date and time out of Garoon outage such as during backup.

  7. Confirm your settings and click Save.

preset_sandbox.csp

When the system administrator sets the date and time to apply the tentative reorganization to the current environment, preset_sandbox.csp adds a task to perform apply_sandbox.csp to the scheduling service.
After apply_sandbox.csp is performed at the specified date and time, the task of preset_sandbox.csp is deleted.

Execution time

The task will be performed at the specified date and time

Impacts in case if the task is not performed

The tentative structure is not applied at the specified date and time.

table_convert.csp

If there are any unnecessary data found in Garoon, they are deleted or updated.

Execution time

Every minutes

Impacts in case if the task is not performed

No unnecessary data is deleted or updated. It is performed at the next occurrence.