Skip to content

Instantly share code, notes, and snippets.

@KyonLi
KyonLi / S10cron
Created April 20, 2018 02:16 — forked from cmprescott/S10cron
optware cron startup script that also sets correct file permissions
#!/bin/sh
#
# Startup script for optware cron
#
# Fix file permissions
# Cron throws an error if these files are anything other than RW by owner
chmod 600 /opt/etc/crontab
chmod -R 600 /opt/etc/cron.d/