Jump to content

Creating a task to run every Tuesday (etc)


rgf100

Recommended Posts

Posted

I can create tasks as part of an application under the tasks tab. I've got it set up to run weekly and it works fine on that basis. However I want to specify when in the week it runs - say Tuesday. This should be possible as a normal cron job (thanks, Wiki!):

Quote

This example runs a shell program called export_dump.sh at 23:45 (11:45 PM) every Saturday.


45 23 * * 6 /home/oracle/scripts/export_dump.sh

How can I (can I?) set up a weekly task in an IPB app that will always run on Tuesday morning, for example.

Posted

Unfortunately that's not possible right now with the built in task system. You would need to build a script to do this external from the software (although you can include init.php to load the framework), and then set up a cron to call your script.

Posted

An upgrade to the built-in task system would be welcome!

- Add tasks

- Option to update time and frequency that some task is executed.

- I currently have to make these changes directly in the database.

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...