cronjob syntax

cron_syntax

6 elements crontab format

* * * * * *
| | | | | |
| | | | | +– Year (range: 1900-3000)
| | | | +—- Day of the Week (range: 1-7, 1 standing for Monday)
| | | +—— Month of the Year (range: 1-12)
| | +——– Day of the Month (range: 1-31)
| +———- Hour (range: 0-23)
+———— Minute (range: 0-59)

ref  : https://en.wikipedia.org/wiki/Cron

, http://www.nncron.ru/help/EN/working/cron-format.htm

Arrays are objects in Java. And references to objects are passed by value.

private void demo() {
int[] array = new int[5];
System.out.println(Arrays.toString(array)); // 0, 0, 0, 0, 0
fillArray(array);
System.out.println(Arrays.toString(array)); // 0, 1, 2, 3, 4
}

private void fillArray(int[] array) {
for (int i = 0; i < array.length; i++) {
array[i] = i;
}
}

ref : http://stackoverflow.com/questions/14062118/pass-array-by-reference-in-java