source: taskScheduler/trunk/fuentes/files.install/usr/sbin/sched_helper.sh @ 6078

Last change on this file since 6078 was 6078, checked in by Juanma, 2 years ago

Initial Release

  • Property svn:executable set to *
File size: 226 bytes
Line 
1#!/bin/bash
2#Script that executes a task last day of month
3#Input: task to execute
4first_day=$(date "+%Y%m01")
5last_day=$(date -d "$firstday + 1 month - 1 day" +%Y%m%d)
6today=$(date "+%Y%m%d")
7[[ $last_day -eq $today ]] && $@
Note: See TracBrowser for help on using the repository browser.