Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
saasio
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
reyun
saasio
Commits
a9d8f9c7
Commit
a9d8f9c7
authored
Apr 03, 2018
by
carrieyzzhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
npm
parent
fc956114
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
49 deletions
+49
-49
pom.xml
pom.xml
+43
-43
applicationContext-schedule.xml
src/main/resources/applicationContext-schedule.xml
+6
-6
No files found.
pom.xml
View file @
a9d8f9c7
...
...
@@ -944,49 +944,49 @@
</triggerfiles>
</configuration>
<
executions
>
<
execution
>
<
id>
install node and npm
</id
>
<
goals
>
<
goal>
install-node-and-npm
</goal
>
<
/goals
>
<
configuration
>
<
nodeVersion>
v0.10.18
</nodeVersion
>
<
npmVersion>
1.3.8
</npmVersion
>
<
/configuration
>
<
/execution
>
<
execution
>
<
id>
npm install
</id
>
<
goals
>
<
goal>
npm
</goal
>
<
/goals
>
<
configuration
>
<
arguments>
install
</arguments
>
<
/configuration
>
<
/execution
>
<
execution
>
<
id>
npm run build
</id
>
<
goals
>
<
goal>
npm
</goal
>
<
/goals
>
<
configuration
>
<
arguments>
run build
</arguments
>
<
/configuration
>
<
/execution
>
<
execution
>
<
id>
grunt build
</id
>
<
goals
>
<
goal>
grunt
</goal
>
<
/goals
>
<
configuration
>
<
arguments>
build --force
</arguments
>
<
/configuration
>
<
/execution
>
<
/executions
>
<
!--<executions>--
>
<
!--<execution>--
>
<
!--<id>install node and npm</id>--
>
<
!--<goals>--
>
<
!--<goal>install-node-and-npm</goal>--
>
<
!--</goals>--
>
<
!--<configuration>--
>
<
!--<nodeVersion>v0.10.18</nodeVersion>--
>
<
!--<npmVersion>1.3.8</npmVersion>--
>
<
!--</configuration>--
>
<
!--</execution>--
>
<
!--<execution>--
>
<
!--<id>npm install</id>--
>
<
!--<goals>--
>
<
!--<goal>npm</goal>--
>
<
!--</goals>--
>
<
!--<configuration>--
>
<
!--<arguments>install</arguments>--
>
<
!--</configuration>--
>
<
!--</execution>--
>
<
!--<execution>--
>
<
!--<id>npm run build</id>--
>
<
!--<goals>--
>
<
!--<goal>npm</goal>--
>
<
!--</goals>--
>
<
!--<configuration>--
>
<
!--<arguments>run build</arguments>--
>
<
!--</configuration>--
>
<
!--</execution>--
>
<
!--<execution>--
>
<
!--<id>grunt build</id>--
>
<
!--<goals>--
>
<
!--<goal>grunt</goal>--
>
<
!--</goals>--
>
<
!--<configuration>--
>
<
!--<arguments>build --force</arguments>--
>
<
!--</configuration>--
>
<
!--</execution>--
>
<
!--</executions>--
>
</plugin>
<plugin>
...
...
src/main/resources/applicationContext-schedule.xml
View file @
a9d8f9c7
...
...
@@ -9,11 +9,11 @@
<description>
调度配置
</description>
<
bean
id=
"autoCalculateFlow"
class=
"com.reyun.task.AutoCalculateFlow"
></bean
>
<
bean
id=
"exportReportTask"
class=
"com.reyun.task.ExportReportTask"
></bean
>
<
!--<bean id="autoCalculateFlow" class="com.reyun.task.AutoCalculateFlow"></bean>--
>
<
!--<bean id="exportReportTask" class="com.reyun.task.ExportReportTask"></bean>--
>
<
task:scheduled-tasks
>
<
task:scheduled
ref=
"autoCalculateFlow"
method=
"run"
cron=
"0 0 7 * * ?"
/
>
<
task:scheduled
ref=
"exportReportTask"
method=
"run"
cron=
"0 */2 * * * ?"
/
>
<
/task:scheduled-tasks
>
<
!--<task:scheduled-tasks>--
>
<
!--<task:scheduled ref="autoCalculateFlow" method="run" cron="0 0 7 * * ?"/>--
>
<
!--<task:scheduled ref="exportReportTask" method="run" cron="0 */2 * * * ?"/>--
>
<
!--</task:scheduled-tasks>--
>
</beans>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment