CHips L MINI SHELL

CHips L pro

Current Path : /proc/2/cwd/etc/cron.hourly/
Upload File :
Current File : //proc/2/cwd/etc/cron.hourly/0anacron

#!/bin/bash
# Skip excecution unless the date has changed from the previous run 
if test -r /var/spool/anacron/cron.daily; then
    day=`cat /var/spool/anacron/cron.daily`
fi
if [ `date +%Y%m%d` = "$day" ]; then
    exit 0;
fi

# Skip excecution unless AC powered
if test -x /usr/bin/on_ac_power; then
    /usr/bin/on_ac_power &> /dev/null
    if test $? -eq 1; then
    exit 0
    fi
fi
/usr/sbin/anacron -s

Copyright 2K16 - 2K18 Indonesian Hacker Rulez