Skip to content
Snippets Groups Projects
Commit 6ff28133 authored by Michael.Menk's avatar Michael.Menk
Browse files

Remove cron files

parent 8cf8e4cc
No related branches found
No related tags found
No related merge requests found
Pipeline #210995 passed
#!/bin/bash
if [ $(date +%M) -gt 40 ] ;then
#0-5 min random sleep
sleep $(cat /proc/meminfo |grep MemFree|awk '{print $2%300}' | bc)
lynx -useragent='UiB cron lynx' -source http://oppetid.app.uib.no/crn.php > /dev/null 2>/dev/null
fi
#!/bin/sh
lynx -useragent='UiB cron lynx' -source "http://oppetid.app.uib.no/ssl.php?update=1" > /dev/null 2>/dev/null
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment