高飞
高飞
我们不希望在web端执行后台任务,有单独的windowsservice程序执行, 是不是直接在web客户端配置以下代码就行了 `//使用redis config.UseRedisStorage(Redis, new Hangfire.Redis.RedisStorageOptions() { FetchTimeout = TimeSpan.FromMinutes(5), Prefix = "{hangfire}:", //活动服务器超时时间 InvisibilityTimeout = TimeSpan.FromHours(1), //任务过期检查频率 ExpiryCheckInterval = TimeSpan.FromHours(1), DeletedListSize = 10000, SucceededListSize = 10000 }) .UseHangfireHttpJob(new HangfireHttpJobOptions()...
There will be many modules in the future. like: basic platform, student platform, teaching platform。 How to build our project to facilitate future expansion? Can you only create new folders?...
version:2.4 docker-compose.yml version: '3' services: xxl-job-admin: image: xuxueli/xxl-job-admin:2.4.0 container_name: xxljob restart: always ports: - 8080:8080 environment: PARAMS: '--spring.datasource.url=jdbc:mysql://10.1.3.101:3306/xxl_job?useSSL=false&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&serverTimezone=Asia/Shanghai&useSSL=false --spring.datasource.username=root --spring.datasource.password=**** spring.datasource.driver-class-name=com.mysql.jdbc.Driver' volumes: - ./logs:/data/applogs 搭建后报错: `09:36:05.950 logback [xxl-job, admin JobFailMonitorHelper]...