Open sindhujit1 opened 3 years ago
I want to know the list of all available optional arguments. In the main document page, I see :
['arg1', 'arg2'], {'verbose': 0} {'indent': 4}
Any other parameters ? What are the verbose levels what does indent do ?
django-crontab
CRONTAB_COMMAND_SUFFIX = '2>&1' CRONJOBS = [ ('0 0 */1 * *', 'standalone.cron.cron_span', '>> /apps/workspace/netadc3/standalone/tmp/scheduled_job_span.log'), ('* * */3 * *', 'networkinventory.cron.alertdevicecapacity', '>> /apps/workspace/netadc3/networkinventory/tmp/alertdevicecapacity.log'), ('0 0 */1 * *', 'ciscoaci.cron.cron_span', '>> /apps/workspace/netadc3/ciscoaci/tmp/scheduled_job_span.log'), ('0 6 * * *', 'ciscoaci.cron.delportscron', '>> /apps/workspace/netadc3/ciscoaci/tmp/scheduled_delports.log'), ('0 0 * * *', 'operations.cron.get_allsvi', '>> /apps/workspace/netadc3/operations/tmp/scheduled_job_allsvi.log'), ('*/60 * * * *', 'ciscoaci.cron.cron_crcErrorStatus', '>> /apps/workspace/netadc3/operations/tmp/crc_aci.log'), ('*/30 * * * *', 'ciscoaci.dhcp_check.dhcp_check_aci', '>> /apps/workspace/netadc3/ciscoaci/tmp/scheduled_job_dhcpcheck.log'), ('0 0 * * 0', 'ciscoaci.cron.getFabTenDetails', '>> /apps/workspace/netadc3/ciscoaci/tmp/get_FabTenDetails.log'), ('0 6 * * *', 'ciscoaci.cron.existing_configs', '>> /apps/workspace/netadc3/ciscoaci/tmp/existing_configs.log'), ('0 6 * * *', 'ciscoaci.cron.portreport', '>> /apps/workspace/netadc3/ciscoaci/tmp/portreport.log'), ]
crontab -l
python manage.py crontab add
adding cronjob: (970d5b92d36a2ba29e19c1b55efd14a0) -> ('0 0 */1 * *', 'standalone.cron.cron_span', '>> /apps/netadc3/standalone/tmp/scheduled_job_span.log') adding cronjob: (3e1b5cefdddae59019f9af0c1303c8bd) -> ('*/2 * * * *', 'networkinventory.cron.alertdevicecapacity', '>> /apps/netadc3/networkinventory/tmp/alertdevicecapacity.log') adding cronjob: (bcc4b26b54c185fad54832c309eb152f) -> ('0 6 * * *', 'ciscoaci.cron.delportscron', '>> /apps/netadc3/ciscoaci/tmp/scheduled_delports.log') adding cronjob: (2e61626796c81c586e8f5d429e41e7e0) -> ('0 0 */1 * *', 'ciscoaci.cron.cron_span', '>> /apps/netadc3/ciscoaci/tmp/scheduled_job_span.log') adding cronjob: (ae7b29704e33662d3c2d8e6e770ce92a) -> ('0 0 * * *', 'operations.cron.get_allsvi', '>> /apps/netadc3/operations/tmp/scheduled_job_allsvi.log') adding cronjob: (18032ed46527711e133975fd8c3d45c2) -> ('*/60 * * * *', 'ciscoaci.cron.cron_crcErrorStatus', '>> /apps/netadc3/operations/tmp/crc_aci.log') adding cronjob: (64d7744b7805e464898a2cb6451facb6) -> ('*/30 * * * *', 'ciscoaci.dhcp_check.dhcp_check_aci', '>> /apps/netadc3/ciscoaci/tmp/scheduled_job_dhcpcheck.log') adding cronjob: (dfb580c9a60849c9d0364483d29b8796) -> ('0 0 * * 0', 'ciscoaci.cron.getFabTenDetails', '>> /apps/netadc3/ciscoaci/tmp/get_FabTenDetails.log') adding cronjob: (29f8028f92529e0d4fc8ad26c8793426) -> ('0 5 * * *', 'ciscoaci.cron.existing_configs', '>> /apps/netadc3/ciscoaci/tmp/existing_configs.log') adding cronjob: (f25bdb04d0c90f16ab646a75f0058644) -> ('0 6 * * *', 'ciscoaci.cron.portreport', '>> /apps/netadc3/ciscoaci/tmp/portreport.log')
I want to know the list of all available optional arguments. In the main document page, I see :
['arg1', 'arg2'], {'verbose': 0} {'indent': 4}
Any other parameters ? What are the verbose levels what does indent do ?
Environment & Versions
Settings
django-crontab
settings:Details
crontab -l
after runningpython manage.py crontab add
.