What's new

scMerlin scMerlin v2 - Service and script control menu for AsusWRT-Merlin

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

To me personally, it would look really cool if it was shown human readable in the UI, like on https://bradymholt.github.io/cron-expression-descriptor/ for example.

If the output is the same as in a terminal I can just as easily fire up Putty and run cru l. But I do realise that would complicate things much further for mister Yaz.
 
So, something like this for example:

yhOLDnR.png
 
so far on the cli i've got the below. with a "key/legend" on common cron syntax to follow. e.g. */X means every X blah X-Y means between X and Y

View attachment 33748
I don't think the describe in English is necessary, if you have the key/legend, that is fine. We can figure it out from there or go to a cron website explainer on the net. But if it could be added to scMerlin's addon tab that would be nice.
 
soon. the code isn't in a state im happy for others to try out yet. not helped by me realising i could completely remove the usb dependency so everyone can now take advantage of the process list
It is nice to see the Addon's of Asuswrt-Merlin have an ACE dev such as yourself around to keep things fresh and interesting. We still got mountains to climb with what is possible, and you are at the top to show us the way. :D:):cool:( not leaving out @dave14305 , @Martineau , @thelonelycoder , @ttgapers , @Adamm , @juched , or @Xentrk )
 
Last edited:
Early access testing can be carried out by running
Code:
scmerlin develop
While I have done some testing, I expect some issues to come out with the upgrade so please be forthcoming with bug reports!
Hi,

Thank you for the opportunity to test the development version.
I tried and after a restart (unplugged the router too during this operation) it seems that on any browser, with private session too, the added cron jobs and also the processes list section are not showing up.

Code:
May 19 01:54:30 src@RT-AX88U scMerlin: Mounted scMerlin WebUI page as user4.asp
May 19 02:24:59 src@RT-AX88U rc_service: httpds 1428:notify_rc start_scmerlingetaddonpages
May 19 02:24:59 src@RT-AX88U custom_script: Running /jffs/scripts/service-event (args: start scmerlingetaddonpages)
May 19 02:26:16 src@RT-AX88U rc_service: httpds 1428:notify_rc start_scmerlingetaddonpages
May 19 02:26:16 src@RT-AX88U custom_script: Running /jffs/scripts/service-event (args: start scmerlingetaddonpages)
May 19 02:42:55 src@RT-AX88U rc_service: httpds 1428:notify_rc start_scmerlingetcronjobs
May 19 02:42:55 src@RT-AX88U custom_script: Running /jffs/scripts/service-event (args: start scmerlingetcronjobs)
May 19 02:56:10 src@RT-AX88U rc_service: httpds 1428:notify_rc start_scmerlingetaddonpages
May 19 02:56:10 src@RT-AX88U custom_script: Running /jffs/scripts/service-event (args: start scmerlingetaddonpages)
May 19 02:57:44 src@RT-AX88U rc_service: httpds 1428:notify_rc start_scmerlingetaddonpages
May 19 02:57:44 src@RT-AX88U custom_script: Running /jffs/scripts/service-event (args: start scmerlingetaddonpages)

Later edit, please find below HTML inspect output, maybe it helps:

Code:
03:54:52.449 Expected declaration but found ‘*’.  Skipped to next declaration. user4.asp
03:54:52.449 Expected declaration but found ‘*’.  Skipped to next declaration. user4.asp
03:54:52.449 Expected declaration but found ‘*’.  Skipped to next declaration. user4.asp
03:54:52.449 Expected declaration but found ‘*’.  Skipped to next declaration. user4.asp
03:54:52.458 Some cookies are misusing the “SameSite“ attribute, so it won’t work as expected 3
03:54:52.869 XHRGEThttps://192.168.50.1/ext/scmerlin/top.htm
[HTTP/1.0 404 Not Found 2010ms]
03:54:52.871 XHRGEThttps://192.168.50.1/ext/scmerlin/scmcronjobs.htm
[HTTP/1.0 404 Not Found 2040ms]
03:54:52.882 XHRGEThttps://192.168.50.1/ext/scmerlin/watchdogenabled.htm
[HTTP/1.0 404 Not Found 2054ms]
03:54:55.900 XHRGEThttps://192.168.50.1/ext/scmerlin/top.htm
[HTTP/1.0 404 Not Found 51ms]
03:54:55.929 XHRGEThttps://192.168.50.1/ext/scmerlin/scmcronjobs.htm
[HTTP/1.0 404 Not Found 35ms]
I shared this post, maybe it helps. The test was done on AX88U, Asus Melin firmware 386.2_4.
Note: before update, it worked fine.

Much appreciated your work.
Thank you,
amplatfus
 

Attachments

  • Screenshot 2021-05-19 at 02-56-23 scMerlin.png
    Screenshot 2021-05-19 at 02-56-23 scMerlin.png
    12.3 KB · Views: 89
Last edited:
I noticed the not showing up as well. So I went into the CLI and had it list them there. After that, it showed on the web page.

However, the processes aren't showing as well initially, and the list of addons / webui page isn't there anymore....and the click to expand or collapse functionality doesn't seem to be working.

I tried seeing if the processes would show after I listed them in the CLI, but that didn't seem to enable it for the web.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top