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