diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-08-12 16:03:37 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-08-12 16:03:37 +0000 |
commit | 4721183f3caf01dbb9e0b55172c94f9e892170ef (patch) | |
tree | d4ff19f3802db56576c1bb366e1fc441f73ef0ab | |
parent | e0c32c5da31b7fdea8e837861aaae8e0053416f0 (diff) | |
download | acf-alpine-baselayout-4721183f3caf01dbb9e0b55172c94f9e892170ef.tar.bz2 acf-alpine-baselayout-4721183f3caf01dbb9e0b55172c94f9e892170ef.tar.xz |
Set new cron job as executable
-rw-r--r-- | cron-model.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cron-model.lua b/cron-model.lua index ad4ba1b..c5ccf7b 100644 --- a/cron-model.lua +++ b/cron-model.lua @@ -109,6 +109,7 @@ function create_job(newjob) if success then fs.create_file(baseurl..newjob.value.period.value.."/"..newjob.value.name.value) + posix.chmod(baseurl..newjob.value.period.value.."/"..newjob.value.name.value, "rwxr-xr-x") else newjob.errtxt = "Failed to create new job" end |