Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
rgf100 Posted April 23, 2018 Posted April 23, 2018 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.
bfarber Posted April 23, 2018 Posted April 23, 2018 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.
DSystem Posted April 23, 2018 Posted April 23, 2018 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.