VOOZH about

URL: https://www.nuget.org/packages/Galosoft.IaaS.XxlJob/

⇱ NuGet Gallery | Galosoft.IaaS.XxlJob 25.9.29.8-rc3




Galosoft.IaaS.XxlJob 25.9.29.8-rc3

This is a prerelease version of Galosoft.IaaS.XxlJob.
dotnet add package Galosoft.IaaS.XxlJob --version 25.9.29.8-rc3
 
 
NuGet\Install-Package Galosoft.IaaS.XxlJob -Version 25.9.29.8-rc3
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Galosoft.IaaS.XxlJob" Version="25.9.29.8-rc3" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Galosoft.IaaS.XxlJob" Version="25.9.29.8-rc3" />
 
Directory.Packages.props
<PackageReference Include="Galosoft.IaaS.XxlJob" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Galosoft.IaaS.XxlJob --version 25.9.29.8-rc3
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Galosoft.IaaS.XxlJob, 25.9.29.8-rc3"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Galosoft.IaaS.XxlJob@25.9.29.8-rc3
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Galosoft.IaaS.XxlJob&version=25.9.29.8-rc3&prerelease
 
Install as a Cake Addin
#tool nuget:?package=Galosoft.IaaS.XxlJob&version=25.9.29.8-rc3&prerelease
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

XxlJob


默认获取当前服务服务端口和地址作为xxljob的执行器地址,自动注册

部署 k8s

apiVersion: apps/v1
kind: Deployment
metadata:
 name: xxl-job-admin
 namespace: iaas-samples
 labels:
 app: xxl-job-admin
spec:
 replicas: 1
 selector:
 matchLabels:
 app: xxl-job-admin
 template:
 metadata:
 labels:
 app: xxl-job-admin
 spec:
 containers:
 - name: xxl-job-admin
 image: docker.1ms.run/xuxueli/xxl-job-admin:2.4.2
 env: 
 - name: PARAMS
 value: '
 --spring.datasource.url=jdbc:mysql://192.168.11.89:3306/xxl_job?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true
 --spring.datasource.username=root
 --spring.datasource.password=jY0#R599#%17#&5g^^B!zT$#9g0A0Z
 --xxl.job.accessToken=xxl-job'
 ports:
 - containerPort: 80
 imagePullPolicy: Always
 imagePullSecrets:
 - name: zhangjiakou
---
apiVersion: v1
kind: Service
metadata:
 labels:
 expose: "true"
 app: xxl-job-admin
 name: xxl-job-admin
 namespace: iaas-samples
spec:
 ports:
 - name: transport
 port: 8080
 protocol: TCP
 targetPort: 8080 
 selector:
 app: xxl-job-admin

配置

 "XxlJob": {
 "AdminAddresses": "http://192.168.11.89:8040/xxl-job-admin",
 //"specialBindAddress": "127.0.0.1",
 "AccessToken": "xxl-job",
 "LogRetentionDays": 30
 }

中间件注册

 app.UseXxlJobExecutor();

业务代码

[JobHandler("demoJobHandler")]
internal class DemoXxlJobHandler : AbstractJobHandler
{
 public override async Task<ReturnT> Execute(JobExecuteContext context)
 {
 await Console.Out.WriteLineAsync(DateTime.Now.ToShortTimeString());
 return ReturnT.SUCCESS;
 }
}
Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Galosoft.IaaS.XxlJob:

Package Downloads
Galosoft.Micro.App

Galosoft.IaaS快速开发库

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
25.9.29.8-rc3 183 9/29/2025
25.5.20.1-xh 203 5/20/2025
25.5.14.1-xh 268 5/14/2025
25.5.13.1-xh 272 5/13/2025
25.4.3.1-nj 183 4/3/2025
25.3.11.1-nj 205 3/11/2025
25.3.10.4-nj 195 3/10/2025
25.3.10.3-nj 200 3/10/2025
25.3.10.2-nj 199 3/10/2025
25.3.10.1-nj 189 3/10/2025
25.2.7.1-nj 128 2/7/2025
25.1.20.2-nj 131 1/20/2025
25.1.16.2-nj 114 1/16/2025
25.1.16.1-nj 106 1/16/2025
25.1.10.1-nj 117 1/10/2025
24.12.26.5-nj 121 12/27/2024
24.12.17.3-nj 121 12/19/2024
24.12.17.2-nj 115 12/19/2024
24.12.17.1-nj 133 12/19/2024