![]() |
Cron job help please
I have an emsim admin panel (yuk) I cant find any option for setting up cron jobs :(
My host told me this I could use SSH to add cron jobs, is this corrent? or should i just use a fake cron job as suggested in the signature hack?? Thanks in advance .... |
SSH into your server as root.
Then you have options here: 1) You can set up a cronjob by typing this in the command line: crontab -e 2) OR, you can set up a cronjob by adding entries to the cron.daily or cron.weekly directories - in the command line do this: cd /etc/cron.daily pico yourcronjob And type this at the top: #!/bin/sh Then list out your commands. CTRL-O to save, then CTRL-X. Then chmod the file to 755. You have made a bash script to run as a cron job. You can edit /etc/crontab to change the times you want cron.daily to run. Do the same in the cron.weekly or cron.monthly subdirectories if you wish. |
Thanks Erwin :) a great help, I wish i had time to impliment it :( I need to use it to auto warn and delete expired listings, so i will get there soon
|
All times are GMT. The time now is 09:31 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|