-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
One of the goals of krontab is to replace crontab for systems which live on a Kubernetes cluster (e.g pangeo/z2jh). Therefore ideally I would like it to have a superset of crontab's flags.
Looking at the crontab man page there are some flags which haven't been implemented yet.
Flags
-
-lList the crontab. This should list all kubernetesCronJobresources in a crontab format. -
-eEdit the crontab. This should open all kubernetesCronJobresources in an editor (either system default or that configured withVISUAL/EDITOR) in a crontab format. Then changes should be propagated back to the Kubernetes API. -
-uModify the crontab of another user. This could be used to override theKRONTAB_OWNERconfig setting. -
-rRemove the current crontab. This should delete all theCronJobresources, however this is a bit scary⚠️ . We should probably prompt the user to confirm. -
-iModifies the-rflag to prompt the user to confirmy/n. This should possibly be the default and use a-yto force without confirmation. Therefore maybe we should just stub this out. -
-sChanges the SELinux context of the crontab file before editing. Probably not necessary inkrontabbut we should stub it out.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed