I made my own scheduled task script and saved it inside the cron folder. When I run it manually through the Scheduled Task Manager, all is well. It does not run automatically, even if I schedule it for each minute. The next scheduled time never changes (in fact, it's stuck in the past, meaning it's overdue to run).
I know others have this problem, yet the following doesn't help or can't apply:
- Not requiring/including files: it's essential that I do. I need to include some utility functions and definitions, along with functions_misc.php.
- Not using functions at all: my code would be a train wreck otherwise for the same reason
- Not using global variables within functions: the only globals I'm using are $vbulletin, $bbuserinfo, and $vboptions (the latter two for template use).
Thoughts?