xref: /aosp_15_r20/development/samples/SampleSyncAdapter/samplesyncadapter_server/cron.yaml (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1*90c8c64dSAndroid Build Coastguard Worker# Copyright (C) 2011 The Android Open Source Project
2*90c8c64dSAndroid Build Coastguard Worker#
3*90c8c64dSAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License"); you may not
4*90c8c64dSAndroid Build Coastguard Worker# use this file except in compliance with the License. You may obtain a copy of
5*90c8c64dSAndroid Build Coastguard Worker# the License at
6*90c8c64dSAndroid Build Coastguard Worker#
7*90c8c64dSAndroid Build Coastguard Worker# http://www.apache.org/licenses/LICENSE-2.0
8*90c8c64dSAndroid Build Coastguard Worker#
9*90c8c64dSAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software
10*90c8c64dSAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11*90c8c64dSAndroid Build Coastguard Worker# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12*90c8c64dSAndroid Build Coastguard Worker# License for the specific language governing permissions and limitations under
13*90c8c64dSAndroid Build Coastguard Worker# the License.
14*90c8c64dSAndroid Build Coastguard Worker
15*90c8c64dSAndroid Build Coastguard Workercron:
16*90c8c64dSAndroid Build Coastguard Worker#
17*90c8c64dSAndroid Build Coastguard Worker# Create a weekly cron job that cleans up the SampleSyncAdapter server database.
18*90c8c64dSAndroid Build Coastguard Worker# We remove all existing contacts from the db, and create three initial
19*90c8c64dSAndroid Build Coastguard Worker# contacts: Romeo, Juliet, and Tybalt.
20*90c8c64dSAndroid Build Coastguard Worker#
21*90c8c64dSAndroid Build Coastguard Worker- description: weekly cleanup job
22*90c8c64dSAndroid Build Coastguard Worker  url: /reset_database
23*90c8c64dSAndroid Build Coastguard Worker  schedule: every sunday 00:00
24*90c8c64dSAndroid Build Coastguard Worker  timezone: America/Los_Angeles