Log in using a crontab

Log in using a crontab

by richard blaat -
Number of replies: 2
Hi!

I was wondering if it would be possible to make a script that
log-in using a crontab. So i always have a recent 'last-visited' in
my profile.

I tried this:

"curl -c /dev/null -Le auto -k -d username=xxx -d password=xxx -d 'submit=Log in' http://moodle.xxx.xxx/login/index.php"

but that doesn't work. I give it up, can someone help me?
Average of ratings: -