Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

My predecessor set up a basic installation of CrunchBang in a VirtualBox VM - The Windows host runs a scheduled task to boot the VM, then CrunchBang runs a shell script some 10-15 minutes later to rsync some files to a local drive. Windows is booting the VM just fine, and CrunchBang's script appears to be functioning correctly and running according to its schedule. But I would like to tweak CrunchBang's schedule a bit, and I can't figure out how/where the script is being scheduled. crontab -l returns no crontab for xxx for both the default user and root, and crontab -e likewise results in empty files.

Is there another location where the schedule entry could be saved? An alternative to cron that may be running it instead?

Thanks.

share|improve this question

2 Answers 2

If it's starting a consistent 15 minutes after boot, it might be a startup script that has a built-in delay/sleep before running. You might also look at /etc/rc.local, or in /etc/init.d, in case it's not cron.

share|improve this answer

Check under /etc/cron.d/ for scripts.

share|improve this answer
    
Also, /etc/crontab. –  cjc Feb 6 '12 at 16:29
    
There are only two files there, .placeholder and update-motd, neither of which has an entry for my script. –  Jamin Feb 6 '12 at 16:31
    
@cjc, I found it in /etc/crontab. Thank you. –  Jamin Feb 6 '12 at 16:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.