Hey guys!

I have never done a cronjob before. On my provider I have an easy tool to create a cronjob, so all I really need is a script.

My question is whether I can do everything from within PHP and if yes - where to start.

I need to
1. download a file from a remote location
2. unpack it (it is an xml file archived with gz)
3. the run another php script which deals which parses xml file into db