golden hour
/opt/cloudlinux/venv/bin
⬆️ Go Up
Upload
File/Folder
Size
Actions
Activate.ps1
8.82 KB
Del
OK
activate
1.65 KB
Del
OK
activate.csh
915 B
Del
OK
activate.fish
2.14 KB
Del
OK
alembic
202 B
Del
OK
cagefs_enter_site.py
1.83 KB
Del
OK
cagefsctl_user.py
14.41 KB
Del
OK
chardetect
210 B
Del
OK
cl_sysctl
4.51 KB
Del
OK
clcpapi
3.64 KB
Del
OK
coverage
204 B
Del
OK
coverage-3.11
204 B
Del
OK
coverage3
204 B
Del
OK
cpanel-dbmapping
3.83 KB
Del
OK
crontab-user-wrapper.py
2.46 KB
Del
OK
da_suid_caller.py
686 B
Del
OK
detect-requirements
211 B
Del
OK
dodgy
197 B
Del
OK
epylint
208 B
Del
OK
f2py
205 B
Del
OK
f2py3
205 B
Del
OK
f2py3.11
205 B
Del
OK
flake8
203 B
Del
OK
futurize
204 B
Del
OK
get_gprof
1.84 KB
Del
OK
get_objgraph
1.63 KB
Del
OK
isort
198 B
Del
OK
isort-identify-imports
232 B
Del
OK
jsonschema
202 B
Del
OK
lvestats_config_reader.py
1.12 KB
Del
OK
mako-render
202 B
Del
OK
normalizer
233 B
Del
OK
pasteurize
206 B
Del
OK
pip
237 B
Del
OK
pip3
237 B
Del
OK
pip3.11
237 B
Del
OK
plesk_suid_caller.py
905 B
Del
OK
prospector
202 B
Del
OK
py.test
210 B
Del
OK
pycodestyle
201 B
Del
OK
pydocstyle
202 B
Del
OK
pyflakes
200 B
Del
OK
pylint
206 B
Del
OK
pylint-config
222 B
Del
OK
pyreverse
212 B
Del
OK
pysemver
198 B
Del
OK
pytest
210 B
Del
OK
python
6.98 KB
Del
OK
python3
6.98 KB
Del
OK
python3.11
6.98 KB
Del
OK
raven
208 B
Del
OK
symilar
208 B
Del
OK
tap
196 B
Del
OK
tappy
196 B
Del
OK
undill
603 B
Del
OK
virtualenv
227 B
Del
OK
Edit: crontab-user-wrapper.py
#!/opt/cloudlinux/venv/bin/python3 -sbb # -*- coding: utf-8 -*- # # Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2025 All Rights Reserved # # Licensed under CLOUD LINUX LICENSE AGREEMENT # http://cloudlinux.com/docs/LICENCE.TXT # """ Crontab wrapper for website isolation support. This wrapper mimics crontab command-line interface: - crontab -l: Lists current crontab entries, filtering isolation tool prefixes - crontab [file]: Installs crontab from file (or '-' for stdin) When website isolation is active (PROXYEXEC_DOCUMENT_ROOT is set): 1. List operations filter out isolation wrapper prefixes from output 2. Save operations automatically prepend isolation tool to commands The isolation tool is prepended to commands to ensure they run within the isolated website context. """ import argparse import sys from clcagefslib.webisolation import crontab def create_parser(): """ Create argument parser for the crontab wrapper. Returns: argparse.ArgumentParser: Configured argument parser """ parser = argparse.ArgumentParser( prog="crontab-user-wrapper", description="Crontab wrapper for website isolation support. " "Filters and modifies crontab entries to support website isolation.", ) parser.add_argument( "-l", "--list", action="store_true", help="List current crontab entries (filters isolation prefixes)", dest="list_crontab", ) parser.add_argument( "file", nargs="?", default="-", help="File containing crontab entries to install, or '-' to read from stdin (default: '-')", ) return parser def main(argv=None): """ Main entry point. Args: argv: Command line arguments (defaults to sys.argv[1:]) Returns: int: Exit code """ parser = create_parser() args = parser.parse_args(argv) if args.list_crontab: return crontab.process_list() # Handle file argument: '-' means stdin, otherwise open the file if args.file == "-": stdin = sys.stdin.buffer else: try: stdin = open(args.file, "rb") except IOError as e: sys.stderr.write(f"crontab: error reading {args.file}: {e}\n") return 1 try: return crontab.process_save(stdin=stdin) finally: if args.file != "-" and stdin != sys.stdin.buffer: stdin.close() if __name__ == "__main__": sys.exit(main())
Save