Code Monkey home page Code Monkey logo

sirpdboy / luci-app-autotimeset Goto Github PK

View Code? Open in Web Editor NEW
132.0 132.0 34.0 92 KB

luci-app-autotimeset 任务设置2.0版:原定时设置的升级,开机任务设置和定时设置任务二合一, 预置功能:重启、关机、重启网络、释放内存、系统清理、网络共享、关闭网络、自动检测断网重连、MWAN3负载均衡检测重连、自定义脚本等10多个功能. 轻松点击启用就可生效,更多的功能就看自己需要在自定义脚本自己加入。日志中有每一条任务执行的日志和时间,其中: Startup_task代表的是开机任务, Scheduled_task代表的是定时任务

License: MIT License

Makefile 2.71% Lua 38.03% HTML 9.48% Shell 49.78%
luci-app-autotimeset

luci-app-autotimeset's Introduction

访问数:hello


Hi there 👋

sirpdboy's github stats
🦑 🦑

luci-app-autotimeset's People

Contributors

jjm2473 avatar rq1025330 avatar sirpdboy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

luci-app-autotimeset's Issues

Feature optimization suggestion

Thanks for your hard work, it's been an incredibly useful tool.

I'd like to share a small piece of feedback for your consideration. Currently, the plugin features only a single custom script box, which makes it somewhat cumbersome to manage different custom scripts for various times. If possible, an enhancement to allow for multiple script boxes or a more flexible scripting interface could greatly enhance the user experience. This feature would provide more convenience and efficiency, especially for those of us who frequently switch between different scripts.

大佬,最新openwrt官方源码编译失败

make[5]: Entering directory '/home/snakwu/openwrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.15.79'
SYNC include/config/auto.conf.cmd
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
DESCEND objtool
CHK include/generated/compile.h
GEN usr/initramfs_data.cpio
autotimeset ../init.d/autotimeset 777 0 0' line 327
autotimeset ../init.d/autotimeset 777 0 0' line 362
make[6]: *** [usr/Makefile:82: usr/initramfs_data.cpio] Error 255
make[6]: *** Deleting file 'usr/initramfs_data.cpio'
make[5]: *** [Makefile:1901: usr] Error 2
make[5]: Leaving directory '/home/snakwu/openwrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.15.79'
make[4]: *** [Makefile:46: /home/snakwu/openwrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-5.15.79/.image] Error 2
make[4]: Leaving directory '/home/snakwu/openwrt/openwrt/target/linux/x86'
make[3]: *** [Makefile:11: install] Error 2
make[3]: Leaving directory '/home/snakwu/openwrt/openwrt/target/linux'
time: target/linux/install#39.59#21.33#69.04
ERROR: target/linux failed to build.
make[2]: *** [target/Makefile:30: target/linux/install] Error 1
make[2]: Leaving directory '/home/snakwu/openwrt/openwrt'
make[1]: *** [target/Makefile:24: /home/snakwu/openwrt/openwrt/staging_dir/target-x86_64_musl/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/snakwu/openwrt/openwrt'
make: *** [/home/snakwu/openwrt/openwrt/include/toplevel.mk:231: world] Error 2
snakwu@compiler-server:~/openwrt/openwrt$

延迟时间具体是什么意思?

延迟时间具体是什么意思?比如我设置了一个重启任务,设置了延时时间30分钟,是不是这个设备关机之后,不会立即启动,而是会在30分钟之后才启动,如果是这样的话,那延迟时间的具体单位是多少,分钟?毫秒?还是啥?

lienol的源码,21.02分支编译后提示错误信息,无法显示界面

微信图片_20210403161106
编译后进到插件界面提示:
/usr/lib/lua/luci/model/cbi/autotimeset.lua:2: module 'luci.model.ipkg' not found:
no field package.preload['luci.model.ipkg']
no file './luci/model/ipkg.lua'
no file '/usr/share/lua/luci/model/ipkg.lua'
no file '/usr/share/lua/luci/model/ipkg/init.lua'
no file '/usr/lib/lua/luci/model/ipkg.lua'
no file '/usr/lib/lua/luci/model/ipkg/init.lua'
no file './luci/model/ipkg.so'
no file '/usr/lib/lua/luci/model/ipkg.so'
no file '/usr/lib/lua/loadall.so'
no file './luci.so'
no file '/usr/lib/lua/luci.so'
no file '/usr/lib/lua/loadall.so'
stack traceback:
[C]: in function 'require'
/usr/lib/lua/luci/model/cbi/autotimeset.lua:2: in function 'func'
/usr/lib/lua/luci/cbi.lua:66: in function 'load'
/usr/lib/lua/luci/dispatcher.lua:1353: in function '_cbi'
/usr/lib/lua/luci/dispatcher.lua:1024: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:479: in function </usr/lib/lua/luci/dispatcher.lua:478>

望大神帮忙分析一下 感激不尽!

自定义脚本功能由于换行符问题无法使用

我不太清楚我是否找对了问题,但是我在网页编辑脚本并保存后,在终端查询脚本变成了只有一行,似乎是换行符的问题,这会导致脚本完全不能执行,另外我发现软件包会自动加上首行#环境,这也导致了问题,是否能让这个首行环境显示在网页上,或者去掉自动添加的功能?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.