# 定时任务与服务接口

服务管理包括代理和接口，都是在服务端运行。O2OA中代理就是定时任务。接口可以提供Http服务让外部程序调用。

代理和接口运行的都是后端脚本。在O2OA中，后端脚本也是Javascript，基于JDK8标准的Nashorn，遵循ECMAScript 5.1规范。如果您需要了解Nashorn，可以[点击此查看](https://www.n-k.de/riding-the-nashorn/)。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://o2oa.gitbook.io/course/liu-cheng-guan-li/fu-wu-guan-li.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
