I have a sheduled job that i need to debug, but where can i see system.debug output statements, and is it really only possible to run these jobs every hour?
well you can see all your debug statement in Debug Logs under setup. You have to create one for the current running user or the user whoch scheduled the job. You can read more about debug logs here http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_debugging_debug_log.htm
Schedule jobs are pretty flexible and have different job frequency that you set using Cron String. You can find the same here http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_scheduler.htm
What is the nature of your scheduled job? As with all Apex, the best way to troubleshoot problems is to use Apex tests to assert the expected behavior you want to see. This way, you not only get the benefit of being able to actively debug your code (instead of waiting for the next hour), you also are more assured that your code will function correctly when more customizations are added in the future.
Schedule jobs are pretty flexible and have different job frequency that you set using Cron String. You can find the same here http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_scheduler.htm
Hello, Micky,
What is the nature of your scheduled job? As with all Apex, the best way to troubleshoot problems is to use Apex tests to assert the expected behavior you want to see. This way, you not only get the benefit of being able to actively debug your code (instead of waiting for the next hour), you also are more assured that your code will function correctly when more customizations are added in the future.