Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added Cron folder

  • Loading branch information...
commit 8fceada592cd2534384dd0373c021bdd3653bb95 1 parent 72c275e
@cabeca authored
Showing with 38 additions and 0 deletions.
  1. +23 −0 Cron/cron-full.sublime-snippet
  2. +15 −0 Cron/cron.sublime-snippet
View
23 Cron/cron-full.sublime-snippet
@@ -0,0 +1,23 @@
+<snippet>
+ <content><![CDATA[
+cron "${1:name}" do
+ hour "${2:*}"
+ minute "${3:*}"
+ day "${4:*}"
+ month "${5:*}"
+ weekday "${6:*}"
+ command "${7:/bin/true}"
+ user "${8:root}"
+ mailto "${9:root@example.com}"
+ path "${10:/bin:/usr/bin}"
+ home "${11:/tmp}"
+ shell "${12:/bin/bash}"
+end
+
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>cronf</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.ruby</scope>
+ <description>cron full</description>
+</snippet>
View
15 Cron/cron.sublime-snippet
@@ -0,0 +1,15 @@
+<snippet>
+ <content><![CDATA[
+cron "${1:name}" do
+ hour "${2:5}"
+ minute "${3:0}"
+ command "${4:/bin/true}"
+end
+
+]]></content>
+ <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
+ <tabTrigger>cron</tabTrigger>
+ <!-- Optional: Set a scope to limit where the snippet will trigger -->
+ <scope>source.ruby</scope>
+ <description>cron</description>
+</snippet>
Please sign in to comment.
Something went wrong with that request. Please try again.