pwn-cron
Drive PWN::Cron from pwn_eval.
SKILL.mdetc/default_skills/pwn/cron/SKILL.md
GitHubPWN::Cron
PWN::Cron provides cron / scheduled task management for the pwn-ai agent. Jobs are defined in ~/.pwn/cron/jobs.yml and can be triggered by system cron, manual run, or from within pwn-ai agent loops. Each job can contain a prompt (for pwn-ai), a ruby script snippet, or reference to external script. Delivery can be 'log' (default), 'email', etc. (email would require additional plugins).
When to use
Call PWN::Cron from pwn_eval when the task needs this module.
Do not reimplement it in shell.
Methodologies
Generated from pwn/cron.rb. Prefer the public class methods below.
Class methods take (opts = {}) and read opts.
How to call
PWN::Cron.help
PWN::Cron.cron_dir(opts)
Public methods
cron_dirlistcreaterunremoveenabledisableinstall_crontab_entryinstall_defaultsjobs_filepid_fileworker_logduedue_jobsrun_dueworker_statusstart_workerstop_workertickworker_loopensure_workerinstall_worker_crontabos_typewindowsscheduler_filescheduler_configcron_enabledpersist_scheduler_configapply_nativewhich_bincrontab_availablesystemd_user_availableschtasks_availablescheduler_backendnative_unit_dirruby_lib_dirruby_eval_argvruby_eval_shellcron_to_calendarsystemd_on_calendarlaunchd_calendar_intervalschtasks_specinstall_scheduleruninstall_schedulersync_schedulerscheduler_statusinstall_native_jobremove_native_jobsync_native_jobsinstall_crontab_workerinstall_crontab_jobuninstall_crontabuninstall_crontab_jobinstall_systemd_user_workerinstall_systemd_user_jobuninstall_systemd_useruninstall_systemd_user_jobinstall_launchd_workerinstall_launchd_jobuninstall_launchduninstall_launchd_jobinstall_schtasks_workerinstall_schtasks_jobuninstall_schtasksuninstall_schtasks_jobauthorshelpapply_native?cron_enabled?crontab_available?due?schtasks_available?systemd_user_available?windows?
References
references/urls.md— URLs from source
Source
pwn/cron.rb
Verification
PWN::Cron.respond_to?(:cron_dir) after the
module is loaded. Read the source for parameter names.