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.
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
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.
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
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.
Every minutes
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.
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
- 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.
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.
The tentative structure is not created.
delete_old_notification.csp
Deletes notification data older than 30 days.
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
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.
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.
The tentative structure is not deleted.
get_six_kinds_of_day_data.csp
Receives Rokuyo data.
JST: December 1st, 4:00 PM.
UTC: December 1st, 7:00 AM.
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:
-
Click the Administration menu icon (gear icon) in the header.
-
Click System settings.
-
Select "Application settings" tab.
-
Click "Cybozu Online Service".
-
Click "Receive event data".
-
On the "Receive event data" screen, select the "Rokuyo" check box.
-
Confirm your settings and click "Receive".
get_weather_data.csp
Receives weather forecasts.
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
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:
-
Click the Administration menu icon (gear icon) in the header.
-
Click System settings.
-
Select "Application settings" tab.
-
Click "Cybozu Online Service".
-
Click "Receive event data".
-
On the "Receive event data" screen, select the "Weather forecast" check box.
-
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.
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.
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.
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
- 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.
The time set in "User information auto sync" on the "Dezie Connector settings" screen of Dezie Connector.
Automatic synchronization of user profiles is not performed.
User profiles must be synchronized by following the steps below:
-
Click the Administration menu icon (gear icon) in the header.
-
Click System settings.
-
Select "Application settings" tab.
-
Click "Cybozu Office / Dezie Connector".
-
Click "Dezie Connector settings".
-
On the "Dezie Connector settings" screen, click the item to synchronize manually in "User information auto sync".
-
Click Yes on the synchronize user profile screen.
grn_mail_auto_receive.csp
Receives e-mails automatically.
The time set in "Receive e-mail at specific time" on the "General settings" screen for E-mail.
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.
The date and time set in the "Request & approval number annual changeover" field on the "General settings" screen of workflows.
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:
-
Click the Administration menu icon (gear icon) in the header.
-
Click System settings.
-
Select "Application settings" tab.
-
Click Workflow.
-
Click General settings.
-
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. -
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.
The task will be performed at the specified date and time
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.
Every minutes
No unnecessary data is deleted or updated. It is performed at the next occurrence.