#!/bin/sh
### BEGIN INIT INFO
# Provides:          cron
# Required-Start:    $local_fs $remote_fs $console-screen
# Required-Stop:     $local_fs $remote_fs
# Default-Start:     S 
# Default-Stop:      0 1 6
# Description:       This script runs any missed cron jobs at startup.
# Short-Description:	This script runs missed cron jobs.
### END INIT INFO

start()
{
    cd / && run-parts /etc/cron.daily
    cd / && run-parts /etc/cron.weekly
    cd / && run-parts /etc/cron.monthly
}


case "$1" in
    start)
	echo "Running cron jobs"
	start
	;;
    *)
	echo "Usage: $SCRIPTNAME {start}" >&2
	exit 3
	;;
esac
