My Custom Commands are located in file pairs in
/etc/webmin/custom.
e.g.
1438509195.cmd
1438509195.html
If I wish to create a batch of these file pairs manually - instead of through webmin main GUI - what is the indexing system used to create the 10 digit file names?
Is there a file naming method in webmin I can call?
but it’s still not clear how/where the file id’s are created.
Later edit:
I tried cloning an existing (working) file set and changed the file id’s manually using a random 10 digit number - 9123456789.cmd and 9123456789.html. I then restarted webmin.
This approach works and I see custom commands added in webmin.
But it would be interesting to understand the indexing method.